cleanup
This commit is contained in:
parent
5941928739
commit
fd75b36a8c
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue