aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authoralex-tdrn <alex-tdrn@protonmail.com>2023-11-17 02:20:24 +0100
committerGitHub <noreply@github.com>2023-11-17 09:20:24 +0800
commit86ce51ae82aa1f0b4e0db92d29a14ff5a6fdd1d0 (patch)
tree168abba26566ae825b1190bc42dae9346f895719 /lua
parentfix: handle exit code on async run command (#2896) (diff)
downloadnvim-lspconfig-86ce51ae82aa1f0b4e0db92d29a14ff5a6fdd1d0.tar
nvim-lspconfig-86ce51ae82aa1f0b4e0db92d29a14ff5a6fdd1d0.tar.gz
nvim-lspconfig-86ce51ae82aa1f0b4e0db92d29a14ff5a6fdd1d0.tar.bz2
nvim-lspconfig-86ce51ae82aa1f0b4e0db92d29a14ff5a6fdd1d0.tar.lz
nvim-lspconfig-86ce51ae82aa1f0b4e0db92d29a14ff5a6fdd1d0.tar.xz
nvim-lspconfig-86ce51ae82aa1f0b4e0db92d29a14ff5a6fdd1d0.tar.zst
nvim-lspconfig-86ce51ae82aa1f0b4e0db92d29a14ff5a6fdd1d0.zip
feat: enable single file mode for nushell lsp (#2900)
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/server_configurations/nushell.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/nushell.lua b/lua/lspconfig/server_configurations/nushell.lua
index 46f0e93a..13bd34e2 100644
--- a/lua/lspconfig/server_configurations/nushell.lua
+++ b/lua/lspconfig/server_configurations/nushell.lua
@@ -5,6 +5,7 @@ return {
cmd = { 'nu', '--lsp' },
filetypes = { 'nu' },
root_dir = util.find_git_ancestor,
+ single_file_support = true,
},
docs = {
description = [[