debugging watcher

This commit is contained in:
dlond 2025-05-30 05:07:12 +12:00
parent ec295c9438
commit 2232bed0b0
1 changed files with 5 additions and 5 deletions

View File

@ -105,11 +105,11 @@ function M.watch_compile_commands(dir)
return return
end end
if fname then -- if fname then
vim.schedule(function() -- vim.schedule(function()
vim.notify('[clangd] File triggered: ' .. fname) -- vim.notify('[clangd] File triggered: ' .. fname)
end) -- end)
end -- 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
vim.schedule(function() vim.schedule(function()