cleanup
This commit is contained in:
parent
a0f8c507c0
commit
bb455470ef
|
@ -71,9 +71,9 @@ function M.watch_compile_commands(dir)
|
|||
local watch_path = dir or vim.fn.getcwd()
|
||||
local watch_file = watch_path .. '/compile_commands.json'
|
||||
|
||||
if not M.auto_watch_enabled or not vim.fn.filereadable(watch_file) then
|
||||
return
|
||||
end
|
||||
-- if not M.auto_watch_enabled or not vim.fn.filereadable(watch_file) then
|
||||
-- return
|
||||
-- end
|
||||
|
||||
watcher = uv.new_fs_event()
|
||||
watcher:start(
|
||||
|
|
Loading…
Reference in New Issue