fix(clangd): remove clang configuration files from clangd root markers

This fixes issues with root dir detection when users have global clang
configuration files
This commit is contained in:
Amaan Qureshi 2025-09-17 05:16:29 -04:00
parent bf0f03c66c
commit 91cf4babda
No known key found for this signature in database

View file

@ -63,9 +63,6 @@ return {
{ "<leader>ch", "<cmd>ClangdSwitchSourceHeader<cr>", desc = "Switch Source/Header (C/C++)" }, { "<leader>ch", "<cmd>ClangdSwitchSourceHeader<cr>", desc = "Switch Source/Header (C/C++)" },
}, },
root_markers = { root_markers = {
".clangd",
".clang-tidy",
".clang-format",
"compile_commands.json", "compile_commands.json",
"compile_flags.txt", "compile_flags.txt",
"configure.ac", -- AutoTools "configure.ac", -- AutoTools