From fd75b36a8c454f07455826b4c8c55d774cae2ab7 Mon Sep 17 00:00:00 2001 From: dlond Date: Fri, 30 May 2025 07:38:49 +1200 Subject: [PATCH] cleanup --- lua/custom/plugins/lsp/clangd.lua | 5 +++++ 1 file changed, 5 insertions(+) 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()