diff options
| author | blusk <bluskript@gmail.com> | 2023-11-10 01:01:17 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-10 09:01:17 +0800 |
| commit | 2dd403ba789a41d107a5bcb86e65f9725b876e87 (patch) | |
| tree | a87a6bd0d62312d5353d3cded6d5a1117c23f116 /lua | |
| parent | feat: add cypher language server (#2883) (diff) | |
| download | nvim-lspconfig-2dd403ba789a41d107a5bcb86e65f9725b876e87.tar nvim-lspconfig-2dd403ba789a41d107a5bcb86e65f9725b876e87.tar.gz nvim-lspconfig-2dd403ba789a41d107a5bcb86e65f9725b876e87.tar.bz2 nvim-lspconfig-2dd403ba789a41d107a5bcb86e65f9725b876e87.tar.lz nvim-lspconfig-2dd403ba789a41d107a5bcb86e65f9725b876e87.tar.xz nvim-lspconfig-2dd403ba789a41d107a5bcb86e65f9725b876e87.tar.zst nvim-lspconfig-2dd403ba789a41d107a5bcb86e65f9725b876e87.zip | |
feat: add nushell built-in language server support (#2884)
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]], + }, + }, +} |
