From 7ec9ce4278b7b645c9a494a7235d6f3d5c213308 Mon Sep 17 00:00:00 2001 From: Ethan Brierley Date: Wed, 22 Nov 2023 18:24:34 +0100 Subject: [PATCH] add LSP for nushell (#8878) --- book/src/generated/lang-support.md | 2 +- languages.toml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index a7d45a461240..f93624f6128d 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 3dedf671513a..afbf34557d4f 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"