cleanup
This commit is contained in:
parent
5b2d259d49
commit
c3b32d95c9
|
@ -114,7 +114,7 @@ function M.pick_commands_dir()
|
||||||
local entry = require('telescope.actions.state').get_selected_entry()
|
local entry = require('telescope.actions.state').get_selected_entry()
|
||||||
require('telescope.actions').close(prompt_bufnr)
|
require('telescope.actions').close(prompt_bufnr)
|
||||||
vim.defer_fn(function()
|
vim.defer_fn(function()
|
||||||
if entry[1] then
|
if entry then
|
||||||
M.start_clangd(entry[1])
|
M.start_clangd(entry[1])
|
||||||
end
|
end
|
||||||
end, 100)
|
end, 100)
|
||||||
|
|
Loading…
Reference in New Issue