aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthan Brierley2023-11-22 17:24:34 +0000
committerGitHub2023-11-22 17:24:34 +0000
commitf1b9c19fa91ea21b81cf912c24ef11bf267d7bc7 (patch)
tree95cacfce8896a2358d9304a3e61b16cbdfb23cd8
parentdb83eb0c506617b39798a0e5000063459f81ce6a (diff)
add LSP for nushell (#8878)
-rw-r--r--book/src/generated/lang-support.md2
-rw-r--r--languages.toml2
2 files changed, 3 insertions, 1 deletions
diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md
index a7d45a46..f93624f6 100644
--- a/book/src/generated/lang-support.md
+++ b/book/src/generated/lang-support.md
@@ -105,7 +105,7 @@
| nickel | ✓ | | ✓ | `nls` |
| nim | ✓ | ✓ | ✓ | `nimlangserver` |
| nix | ✓ | | | `nil` |
-| nu | ✓ | | | |
+| nu | ✓ | | | `nu` |
| nunjucks | ✓ | | | |
| ocaml | ✓ | | ✓ | `ocamllsp` |
| ocaml-interface | ✓ | | | `ocamllsp` |
diff --git a/languages.toml b/languages.toml
index 3dedf671..afbf3455 100644
--- a/languages.toml
+++ b/languages.toml
@@ -47,6 +47,7 @@ mint = { command = "mint", args = ["ls"] }
nil = { command = "nil" }
nimlangserver = { command = "nimlangserver" }
nls = { command = "nls" }
+nu-lsp = { command = "nu", args = [ "--lsp" ] }
ocamllsp = { command = "ocamllsp" }
ols = { command = "ols", args = [] }
omnisharp = { command = "OmniSharp", args = [ "--languageserver" ] }
@@ -1783,6 +1784,7 @@ file-types = ["nu"]
shebangs = ["nu"]
comment-token = "#"
indent = { tab-width = 2, unit = " " }
+language-servers = [ "nu-lsp" ]
[[grammar]]
name = "nu"