This commit is contained in:
dlond 2025-05-30 07:38:49 +12:00
parent 5941928739
commit fd75b36a8c
1 changed files with 5 additions and 0 deletions

View File

@ -87,6 +87,11 @@ function M.watch_compile_commands(dir)
return return
end 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 fname and fname:match '[/\\]compile_commands%.json$' and status.change then
if debounce_timer then if debounce_timer then
debounce_timer:stop() debounce_timer:stop()