cleanup
This commit is contained in:
parent
1f53e61d68
commit
5b2d259d49
1 changed files with 3 additions and 1 deletions
|
|
@ -114,7 +114,9 @@ function M.pick_commands_dir()
|
|||
local entry = require('telescope.actions.state').get_selected_entry()
|
||||
require('telescope.actions').close(prompt_bufnr)
|
||||
vim.defer_fn(function()
|
||||
M.start_clangd(entry[1])
|
||||
if entry[1] then
|
||||
M.start_clangd(entry[1])
|
||||
end
|
||||
end, 100)
|
||||
end)
|
||||
return true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue