summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/lsp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lsp.lua b/lua/lsp.lua
index 8c12deb..f21556e 100644
--- a/lua/lsp.lua
+++ b/lua/lsp.lua
@@ -21,7 +21,7 @@ configs.clangd = {
cmd = { "clangd" },
filetypes = { "c", "cpp" },
settings = {},
- root_dir = nvim_lsp.util.root_pattern({"Makefile", "CMakeLists.txt"}),
+ root_dir = nvim_lsp.util.root_pattern({"Makefile", "CMakeLists.txt", ""}),
},
}