aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGithub Actions <actions@github>2020-01-28 05:59:23 +0000
committerGithub Actions <actions@github>2020-01-28 05:59:23 +0000
commit6ea517f5c30b6818f0c5c25c1f3582579aefd402 (patch)
tree3724c0d856aeea4083aa07c8edfad112a2220c44
parentclangd: fallback root_dir to CWD #105 (diff)
downloadnvim-lspconfig-6ea517f5c30b6818f0c5c25c1f3582579aefd402.tar
nvim-lspconfig-6ea517f5c30b6818f0c5c25c1f3582579aefd402.tar.gz
nvim-lspconfig-6ea517f5c30b6818f0c5c25c1f3582579aefd402.tar.bz2
nvim-lspconfig-6ea517f5c30b6818f0c5c25c1f3582579aefd402.tar.lz
nvim-lspconfig-6ea517f5c30b6818f0c5c25c1f3582579aefd402.tar.xz
nvim-lspconfig-6ea517f5c30b6818f0c5c25c1f3582579aefd402.tar.zst
nvim-lspconfig-6ea517f5c30b6818f0c5c25c1f3582579aefd402.zip
[docgen] Update README.md
skip-checks: true
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index f6097ded..a906d48c 100644
--- a/README.md
+++ b/README.md
@@ -679,7 +679,7 @@ require'nvim_lsp'.clangd.setup{}
filetypes = { "c", "cpp", "objc", "objcpp" }
log_level = 2
on_init = function to handle changing offsetEncoding
- root_dir = root_pattern("compile_commands.json", "compile_flags.txt", ".git")
+ root_dir = root_pattern("compile_commands.json", "compile_flags.txt", ".git") or cwd
settings = {}
```