aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim_lsp/clangd.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim_lsp/clangd.lua')
-rw-r--r--lua/nvim_lsp/clangd.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/nvim_lsp/clangd.lua b/lua/nvim_lsp/clangd.lua
index 47e00741..f369febb 100644
--- a/lua/nvim_lsp/clangd.lua
+++ b/lua/nvim_lsp/clangd.lua
@@ -46,6 +46,7 @@ https://clang.llvm.org/extra/clangd/Installation.html
clangd 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.
+For details on how to automatically generate one using CMake look [here](https://cmake.org/cmake/help/latest/variable/CMAKE_EXPORT_COMPILE_COMMANDS.html).
]];
default_config = {
root_dir = [[root_pattern("compile_commands.json", "compile_flags.txt", ".git") or dirname]];