aboutsummaryrefslogtreecommitdiffstats
path: root/doc/server_configurations.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/server_configurations.txt')
-rw-r--r--doc/server_configurations.txt4
1 files changed, 2 insertions, 2 deletions
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
```