fix: split commands while picker is open (#2784)
This commit is contained in:
@@ -134,7 +134,9 @@ local function default_create_layout(picker)
|
|||||||
if vim.api.nvim_win_is_valid(self.prompt.winid) then
|
if vim.api.nvim_win_is_valid(self.prompt.winid) then
|
||||||
vim.api.nvim_win_close(self.prompt.winid, true)
|
vim.api.nvim_win_close(self.prompt.winid, true)
|
||||||
end
|
end
|
||||||
|
vim.schedule(function()
|
||||||
utils.buf_delete(self.prompt.bufnr)
|
utils.buf_delete(self.prompt.bufnr)
|
||||||
|
end)
|
||||||
end,
|
end,
|
||||||
---@param self TelescopeLayout
|
---@param self TelescopeLayout
|
||||||
update = function(self)
|
update = function(self)
|
||||||
|
|||||||
Reference in New Issue
Block a user