diff --git a/lua/custom/plugins/lsp/clangd.lua b/lua/custom/plugins/lsp/clangd.lua index 63db56f7..4fd92dc8 100644 --- a/lua/custom/plugins/lsp/clangd.lua +++ b/lua/custom/plugins/lsp/clangd.lua @@ -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(