We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db69fde commit ed36764Copy full SHA for ed36764
internal/code/languages.go
@@ -34,7 +34,8 @@ const (
34
Swift = "swift"
35
Dart = "dart"
36
V = "v"
37
- Scala = "scala"
+ Scala = "scala"
38
+ Haskell = "haskell"
39
)
40
41
// Languages is a map of supported languages with their extensions and commands
@@ -120,8 +121,12 @@ var Languages = map[string]Language{
120
121
Extension: "v",
122
Commands: cmds{{"v", "run", "<file>"}},
123
},
- Scala: {
124
- Extension: "sc",
125
- Commands: cmds{{"scala-cli", "run", "<file>"}},
126
- },
+ Scala: {
+ Extension: "sc",
+ Commands: cmds{{"scala-cli", "run", "<file>"}},
127
+ },
128
+ Haskell: {
129
+ Extension: "hs",
130
+ Commands: cmds{{"runghc", "<file>"}},
131
132
}
0 commit comments