aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorkaashyapan2023-07-15 20:58:17 +0000
committerGitHub2023-07-15 20:58:17 +0000
commit2ace6032e7de46893ee87d1a2ac425b9057fa061 (patch)
tree38734b9491cad58516e92e21db344f8205a18962 /languages.toml
parent86bf0e00fe2ae70a176fb8fc90749bced8f6d7bd (diff)
Add fsharp language support (#7619)
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml16
1 files changed, 16 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 2732546f..233eb2f8 100644
--- a/languages.toml
+++ b/languages.toml
@@ -26,6 +26,7 @@ erlang-ls = { command = "erlang_ls" }
forc = { command = "forc", args = ["lsp"] }
forth-lsp = { command = "forth-lsp" }
fortls = { command = "fortls", args = ["--lowercase_intrinsics"] }
+fsharp-ls = { command = "fsautocomplete", config = { AutomaticWorkspaceInit = true } }
gleam = { command = "gleam", args = ["lsp"] }
haskell-language-server = { command = "haskell-language-server-wrapper", args = ["--lsp"] }
idris2-lsp = { command = "idris2-lsp" }
@@ -2662,6 +2663,21 @@ name = "forth"
source = { git = "https://github.com/alexanderbrevig/tree-sitter-forth", rev = "304ed77beb113e37af38b20ff14e3c37bf350d10" }
[[language]]
+name = "fsharp"
+scope = "source.fs"
+roots = ["sln", "fsproj"]
+injection-regex = "fsharp"
+file-types = ["fs", "fsx"]
+comment-token = "//"
+indent = { tab-width = 4, unit = " " }
+auto-format = true
+language-servers = ["fsharp-ls"]
+
+[[grammar]]
+name = "fsharp"
+source = { git = "https://github.com/kaashyapan/tree-sitter-fsharp", rev = "1b5a315e003024db6181744f1d25b8f525732665" }
+
+[[language]]
name = "t32"
scope = "source.t32"
injection-regex = "t32"