diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/nushell.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/nushell.lua b/lua/lspconfig/server_configurations/nushell.lua new file mode 100644 index 00000000..46f0e93a --- /dev/null +++ b/lua/lspconfig/server_configurations/nushell.lua @@ -0,0 +1,19 @@ +local util = require 'lspconfig.util' + +return { + default_config = { + cmd = { 'nu', '--lsp' }, + filetypes = { 'nu' }, + root_dir = util.find_git_ancestor, + }, + docs = { + description = [[ +https://github.com/nushell/nushell + +Nushell built-in language server. +]], + default_config = { + root_dir = [[util.find_git_ancestor]], + }, + }, +} |
