Add dart support (#236)

This commit is contained in:
Nathan Angelo Cruz
2023-05-22 10:21:48 +08:00
committed by GitHub
parent d0bfc40989
commit a0e5884ee5
2 changed files with 15 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ const (
Julia = "julia"
Cpp = "cpp"
Swift = "swift"
Dart = "dart"
)
// Languages is a map of supported languages with their extensions and commands
@@ -104,4 +105,8 @@ var Languages = map[string]Language{
Extension: "swift",
Commands: cmds{{"swift", "<file>"}},
},
Dart: {
Extension: "dart",
Commands: cmds{{"dart", "<file>"}},
},
}