diff --git a/lua/custom/plugins/lsp/clangd.lua b/lua/custom/plugins/lsp/clangd.lua index 59cfff3f..a38c24e7 100644 --- a/lua/custom/plugins/lsp/clangd.lua +++ b/lua/custom/plugins/lsp/clangd.lua @@ -87,6 +87,11 @@ function M.watch_compile_commands(dir) return end + vim.notify('[clangd] Watcher triggered: ' .. fname) + if fname:match '[/\\]compile_commands%.json$' then + vim.notify '[clangd] MATCHED compile_commands.json' + end + if fname and fname:match '[/\\]compile_commands%.json$' and status.change then if debounce_timer then debounce_timer:stop()