From 2232bed0b01bde97c2a6312a73e6f6f91687e714 Mon Sep 17 00:00:00 2001 From: dlond Date: Fri, 30 May 2025 05:07:12 +1200 Subject: [PATCH] debugging watcher --- lua/custom/plugins/lsp/clangd.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lua/custom/plugins/lsp/clangd.lua b/lua/custom/plugins/lsp/clangd.lua index 2707eea5..6880239b 100644 --- a/lua/custom/plugins/lsp/clangd.lua +++ b/lua/custom/plugins/lsp/clangd.lua @@ -105,11 +105,11 @@ function M.watch_compile_commands(dir) return end - if fname then - vim.schedule(function() - vim.notify('[clangd] File triggered: ' .. fname) - end) - end + -- if fname then + -- vim.schedule(function() + -- vim.notify('[clangd] File triggered: ' .. fname) + -- end) + -- end if fname and fname:match 'compile_commands%.json$' and status.change then vim.schedule(function()