on master help sign in
add LSP for nushell (#8878)
commitf1b9c19fa91ea21b81cf912c24ef11bf267d7bc7 authorEthan Brierley <ethanboxx@gmail.com> dateWed 22 Nov 2023, 18:24 (3 years ago) parentdb83eb0
2 files changed+3−1
book/src/generated/lang-support.md+1−1 languages.toml+2
book/src/generated/lang-support.md+1−1
@@ -105,7 +105,7 @@
105105| nickel | ✓ | | ✓ | `nls` |
106106| nim | ✓ | ✓ | ✓ | `nimlangserver` |
107107| nix | ✓ | | | `nil` |
108−| nu | ✓ | | | |
108+| nu | ✓ | | | `nu` |
109109| nunjucks | ✓ | | | |
110110| ocaml | ✓ | | ✓ | `ocamllsp` |
111111| ocaml-interface | ✓ | | | `ocamllsp` |
languages.toml+2
@@ -47,6 +47,7 @@ mint = { command = "mint", args = ["ls"] }
4747nil = { command = "nil" }
4848nimlangserver = { command = "nimlangserver" }
4949nls = { command = "nls" }
50+nu-lsp = { command = "nu", args = [ "--lsp" ] }
5051ocamllsp = { command = "ocamllsp" }
5152ols = { command = "ols", args = [] }
5253omnisharp = { command = "OmniSharp", args = [ "--languageserver" ] }
@@ -1783,6 +1784,7 @@ file-types = ["nu"]
17831784shebangs = ["nu"]
17841785comment-token = "#"
17851786indent = { tab-width = 2, unit = " " }
1787+language-servers = [ "nu-lsp" ]
17861788
17871789[[grammar]]
17881790name = "nu"