aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorgithub-actions <github-actions@github.com>2021-12-13 16:46:58 +0000
committergithub-actions <github-actions@github.com>2021-12-13 16:46:58 +0000
commitc37bf4a2e87df0da5895402b01b427442e0633ff (patch)
tree380c876a8fa34e9cd68a160361a5b189424b5d5d /doc
parentfix(ccls): delete invalid root directory pattern (#1565) (diff)
downloadnvim-lspconfig-c37bf4a2e87df0da5895402b01b427442e0633ff.tar
nvim-lspconfig-c37bf4a2e87df0da5895402b01b427442e0633ff.tar.gz
nvim-lspconfig-c37bf4a2e87df0da5895402b01b427442e0633ff.tar.bz2
nvim-lspconfig-c37bf4a2e87df0da5895402b01b427442e0633ff.tar.lz
nvim-lspconfig-c37bf4a2e87df0da5895402b01b427442e0633ff.tar.xz
nvim-lspconfig-c37bf4a2e87df0da5895402b01b427442e0633ff.tar.zst
nvim-lspconfig-c37bf4a2e87df0da5895402b01b427442e0633ff.zip
docs: update server_configurations.md
skip-checks: true
Diffstat (limited to 'doc')
-rw-r--r--doc/server_configurations.md4
-rw-r--r--doc/server_configurations.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md
index fccb97b8..3023760c 100644
--- a/doc/server_configurations.md
+++ b/doc/server_configurations.md
@@ -450,7 +450,7 @@ require'lspconfig'.bsl_ls.setup{}
https://github.com/MaskRay/ccls/wiki
ccls relies on a [JSON compilation database](https://clang.llvm.org/docs/JSONCompilationDatabase.html) specified
-as compile_commands.json or, for simpler projects, a compile_flags.txt.
+as compile_commands.json or, for simpler projects, a .ccls.
For details on how to automatically generate one using CMake look [here](https://cmake.org/cmake/help/latest/variable/CMAKE_EXPORT_COMPILE_COMMANDS.html). Alternatively, you can use [Bear](https://github.com/rizsotto/Bear).
Customization options are passed to ccls at initialization time via init_options, a list of available options can be found [here](https://github.com/MaskRay/ccls/wiki/Customization#initialization-options). For example:
@@ -486,7 +486,7 @@ require'lspconfig'.ccls.setup{}
Default Values:
cmd = { "ccls" }
filetypes = { "c", "cpp", "objc", "objcpp" }
- root_dir = root_pattern("compile_commands.json", ".ccls", "compile_flags.txt", ".git") or dirname
+ root_dir = root_pattern("compile_commands.json", ".ccls", ".git")
single_file_support = false
```
diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt
index fccb97b8..3023760c 100644
--- a/doc/server_configurations.txt
+++ b/doc/server_configurations.txt
@@ -450,7 +450,7 @@ require'lspconfig'.bsl_ls.setup{}
https://github.com/MaskRay/ccls/wiki
ccls relies on a [JSON compilation database](https://clang.llvm.org/docs/JSONCompilationDatabase.html) specified
-as compile_commands.json or, for simpler projects, a compile_flags.txt.
+as compile_commands.json or, for simpler projects, a .ccls.
For details on how to automatically generate one using CMake look [here](https://cmake.org/cmake/help/latest/variable/CMAKE_EXPORT_COMPILE_COMMANDS.html). Alternatively, you can use [Bear](https://github.com/rizsotto/Bear).
Customization options are passed to ccls at initialization time via init_options, a list of available options can be found [here](https://github.com/MaskRay/ccls/wiki/Customization#initialization-options). For example:
@@ -486,7 +486,7 @@ require'lspconfig'.ccls.setup{}
Default Values:
cmd = { "ccls" }
filetypes = { "c", "cpp", "objc", "objcpp" }
- root_dir = root_pattern("compile_commands.json", ".ccls", "compile_flags.txt", ".git") or dirname
+ root_dir = root_pattern("compile_commands.json", ".ccls", ".git")
single_file_support = false
```