aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions <github-actions@github.com>2021-08-24 13:44:17 +0000
committergithub-actions <github-actions@github.com>2021-08-24 13:44:17 +0000
commitb8d1a5a179dc62fe9e14c0919aa1d4023bdb9ae6 (patch)
tree86c234df57610d74f05aa2bb3920e202a7cfbc63
parentchore: standardize arg on fname in root (#1176) (diff)
downloadnvim-lspconfig-b8d1a5a179dc62fe9e14c0919aa1d4023bdb9ae6.tar
nvim-lspconfig-b8d1a5a179dc62fe9e14c0919aa1d4023bdb9ae6.tar.gz
nvim-lspconfig-b8d1a5a179dc62fe9e14c0919aa1d4023bdb9ae6.tar.bz2
nvim-lspconfig-b8d1a5a179dc62fe9e14c0919aa1d4023bdb9ae6.tar.lz
nvim-lspconfig-b8d1a5a179dc62fe9e14c0919aa1d4023bdb9ae6.tar.xz
nvim-lspconfig-b8d1a5a179dc62fe9e14c0919aa1d4023bdb9ae6.tar.zst
nvim-lspconfig-b8d1a5a179dc62fe9e14c0919aa1d4023bdb9ae6.zip
[docgen] Update CONFIG.md
skip-checks: true
-rw-r--r--CONFIG.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/CONFIG.md b/CONFIG.md
index 3c95854f..88dd2477 100644
--- a/CONFIG.md
+++ b/CONFIG.md
@@ -1362,8 +1362,8 @@ require'lspconfig'.dotls.setup{}
Default Values:
cmd = { "dot-language-server", "--stdio" }
filetypes = { "dot" }
- root_dir = function(filename)
- return util.root_pattern(unpack(root_files))(filename) or util.path.dirname(filename)
+ root_dir = function(fname)
+ return util.root_pattern(unpack(root_files))(fname) or util.path.dirname(fname)
end,
```
@@ -4773,8 +4773,8 @@ require'lspconfig'.racket_langserver.setup{}
Default Values:
cmd = { "racket", "--lib", "racket-langserver" }
filetypes = { "racket", "scheme" }
- root_dir = function(filename)
- return util.root_pattern(unpack(root_files))(filename) or util.path.dirname(filename)
+ root_dir = function(fname)
+ return util.root_pattern(unpack(root_files))(fname) or util.path.dirname(fname)
end,
```