This commit is contained in:
dlond 2025-05-30 06:58:39 +12:00
parent 5b2d259d49
commit c3b32d95c9
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ function M.pick_commands_dir()
local entry = require('telescope.actions.state').get_selected_entry()
require('telescope.actions').close(prompt_bufnr)
vim.defer_fn(function()
if entry[1] then
if entry then
M.start_clangd(entry[1])
end
end, 100)