aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions <github-actions@github.com>2021-11-19 14:39:01 +0000
committergithub-actions <github-actions@github.com>2021-11-19 14:39:01 +0000
commit2dda9c8cb26b65b31cdf9647ace45ca2f4dcb2e9 (patch)
tree51279765e9fed178c8ae4b90309a418b86a7c11c
parentfeat: add worktree support to find_git_ancestor (#1450) (diff)
downloadnvim-lspconfig-2dda9c8cb26b65b31cdf9647ace45ca2f4dcb2e9.tar
nvim-lspconfig-2dda9c8cb26b65b31cdf9647ace45ca2f4dcb2e9.tar.gz
nvim-lspconfig-2dda9c8cb26b65b31cdf9647ace45ca2f4dcb2e9.tar.bz2
nvim-lspconfig-2dda9c8cb26b65b31cdf9647ace45ca2f4dcb2e9.tar.lz
nvim-lspconfig-2dda9c8cb26b65b31cdf9647ace45ca2f4dcb2e9.tar.xz
nvim-lspconfig-2dda9c8cb26b65b31cdf9647ace45ca2f4dcb2e9.tar.zst
nvim-lspconfig-2dda9c8cb26b65b31cdf9647ace45ca2f4dcb2e9.zip
docs: update server_configurations.md
skip-checks: true
-rw-r--r--doc/server_configurations.md27
1 files changed, 19 insertions, 8 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md
index ab7bd819..70e76ecc 100644
--- a/doc/server_configurations.md
+++ b/doc/server_configurations.md
@@ -1324,7 +1324,8 @@ require'lspconfig'.esbonio.setup{}
cmd = { "python3", "-m", "esbonio" }
filetypes = { "rst" }
root_dir = function(path)
- if M.path.is_dir(M.path.join(path, '.git')) then
+ -- Support git directories and git files (worktrees)
+ if M.path.is_dir(M.path.join(path, '.git')) or M.path.is_file(M.path.join(path, '.git')) then
return path
end
end)
@@ -3134,6 +3135,12 @@ This server accepts configuration via the `settings` key.
Additional Julia arguments\.
+- **`julia.cellDelimiters`**: `array`
+
+ Default: `{ "^##(?!#)", "^#(\\s?)%%", "^#-" }`
+
+ Cell delimiter regular expressions for Julia files\.
+
- **`julia.completionmode`**: `enum { "exportedonly", "import", "qualify" }`
Default: `"qualify"`
@@ -3422,7 +3429,7 @@ This server accepts configuration via the `settings` key.
Default: `250`
- \[DEPRECATED\] Specifies the debounce time limit\. Lower to increase responsiveness at the cost of possibile stability issues\.
+ \[DEPRECATED\] Specifies the debounce time limit\. Lower to increase responsiveness at the cost of possible stability issues\.
- **`kotlin.debugAdapter.enabled`**: `boolean`
@@ -3466,7 +3473,7 @@ This server accepts configuration via the `settings` key.
Default: `5005`
- \[DEBUG\] If transport is stdio this enables you to attach to the running langugage server with a debugger\. This is ONLY useful if you need to debug the language server ITSELF\.
+ \[DEBUG\] If transport is stdio this enables you to attach to the running language server with a debugger\. This is ONLY useful if you need to debug the language server ITSELF\.
- **`kotlin.languageServer.enabled`**: `boolean`
@@ -3496,7 +3503,7 @@ This server accepts configuration via the `settings` key.
Default: `250`
- \[DEBUG\] Specifies the debounce time limit\. Lower to increase responsiveness at the cost of possibile stability issues\.
+ \[DEBUG\] Specifies the debounce time limit\. Lower to increase responsiveness at the cost of possible stability issues\.
- **`kotlin.snippetsEnabled`**: `boolean`
@@ -3633,7 +3640,8 @@ require'lspconfig'.lelwel_ls.setup{}
cmd = { "lelwel-ls" }
filetypes = { "llw" }
root_dir = function(path)
- if M.path.is_dir(M.path.join(path, '.git')) then
+ -- Support git directories and git files (worktrees)
+ if M.path.is_dir(M.path.join(path, '.git')) or M.path.is_file(M.path.join(path, '.git')) then
return path
end
end)
@@ -3916,7 +3924,8 @@ require'lspconfig'.ltex.setup{}
end
end,
root_dir = function(path)
- if M.path.is_dir(M.path.join(path, '.git')) then
+ -- Support git directories and git files (worktrees)
+ if M.path.is_dir(M.path.join(path, '.git')) or M.path.is_file(M.path.join(path, '.git')) then
return path
end
end)
@@ -4043,7 +4052,8 @@ require'lspconfig'.nickel_ls.setup{}
cmd = { "nls" }
filetypes = { "ncl", "nickel" }
root_dir = function(path)
- if M.path.is_dir(M.path.join(path, '.git')) then
+ -- Support git directories and git files (worktrees)
+ if M.path.is_dir(M.path.join(path, '.git')) or M.path.is_file(M.path.join(path, '.git')) then
return path
end
end)
@@ -4306,7 +4316,8 @@ require'lspconfig'.pasls.setup{}
cmd = { "pasls" }
filetypes = { "pascal" }
root_dir = function(path)
- if M.path.is_dir(M.path.join(path, '.git')) then
+ -- Support git directories and git files (worktrees)
+ if M.path.is_dir(M.path.join(path, '.git')) or M.path.is_file(M.path.join(path, '.git')) then
return path
end
end)