mirror of
https://github.com/maaslalani/slides.git
synced 2026-01-09 14:28:05 -05:00
Add haskell support to languages.go (#299)
This commit is contained in:
@@ -34,7 +34,8 @@ const (
|
||||
Swift = "swift"
|
||||
Dart = "dart"
|
||||
V = "v"
|
||||
Scala = "scala"
|
||||
Scala = "scala"
|
||||
Haskell = "haskell"
|
||||
)
|
||||
|
||||
// Languages is a map of supported languages with their extensions and commands
|
||||
@@ -120,8 +121,12 @@ var Languages = map[string]Language{
|
||||
Extension: "v",
|
||||
Commands: cmds{{"v", "run", "<file>"}},
|
||||
},
|
||||
Scala: {
|
||||
Extension: "sc",
|
||||
Commands: cmds{{"scala-cli", "run", "<file>"}},
|
||||
},
|
||||
Scala: {
|
||||
Extension: "sc",
|
||||
Commands: cmds{{"scala-cli", "run", "<file>"}},
|
||||
},
|
||||
Haskell: {
|
||||
Extension: "hs",
|
||||
Commands: cmds{{"runghc", "<file>"}},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user