Skip to content

Commit

Permalink
add LSP for nushell (helix-editor#8878)
Browse files Browse the repository at this point in the history
  • Loading branch information
eopb authored and mtoohey31 committed Jun 2, 2024
1 parent c36c53d commit edcca65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion book/src/generated/lang-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
| nickel || || `nls` |
| nim |||| `nimlangserver` |
| nix || | | `nil` |
| nu || | | |
| nu || | | `nu` |
| nunjucks || | | |
| ocaml || || `ocamllsp` |
| ocaml-interface || | | `ocamllsp` |
Expand Down
2 changes: 2 additions & 0 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" ] }
Expand Down Expand Up @@ -1783,6 +1784,7 @@ file-types = ["nu"]
shebangs = ["nu"]
comment-token = "#"
indent = { tab-width = 2, unit = " " }
language-servers = [ "nu-lsp" ]

[[grammar]]
name = "nu"
Expand Down

0 comments on commit edcca65

Please sign in to comment.