diff --git a/lua/custom/plugins/lsp/clangd.lua b/lua/custom/plugins/lsp/clangd.lua index 1a30900e..386e3a4e 100644 --- a/lua/custom/plugins/lsp/clangd.lua +++ b/lua/custom/plugins/lsp/clangd.lua @@ -127,8 +127,8 @@ return { 'neovim/nvim-lspconfig', ft = M.clang_filetypes, config = function() - vim.notify('[clangd] find_compile_commands() returned: "' .. dir .. '"') local dir = find_compile_commands() + vim.notify('[clangd] find_compile_commands() returned: "' .. dir .. '"') M.start_clangd(dir) M.watch_compile_commands(dir)