From 1ba09dc67b079f3aa6c32a792e475c87150977a4 Mon Sep 17 00:00:00 2001 From: dlond Date: Fri, 30 May 2025 01:05:27 +1200 Subject: [PATCH] typo --- lua/custom/plugins/lsp/clangd.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/custom/plugins/lsp/clangd.lua b/lua/custom/plugins/lsp/clangd.lua index 2767eae1..54243420 100644 --- a/lua/custom/plugins/lsp/clangd.lua +++ b/lua/custom/plugins/lsp/clangd.lua @@ -60,7 +60,8 @@ function M.pick_commands_dir() local entry = require('telescope.actions.state').get_selected_entry() local commands_dir = entry[1] require('telescope.actions').close(prompt_bufnr) - reload_clangd(commands_dir) + if commands_dir ~= '' then + M.setup_clangd(commands_dir) end) return true end,