mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2025-12-06 06:46:10 +00:00
fix cursor pos for cmds that take cursor pos
This commit is contained in:
@@ -384,9 +384,11 @@ internal.commands = function(opts)
|
||||
local cr = vim.api.nvim_replace_termcodes("<cr>", true, false, true)
|
||||
cmd = cmd .. cr
|
||||
end
|
||||
vim.schedule(function()
|
||||
vim.cmd [[stopinsert]]
|
||||
vim.api.nvim_feedkeys(cmd, "t", false)
|
||||
end)
|
||||
end)
|
||||
|
||||
return true
|
||||
end,
|
||||
|
||||
Reference in New Issue
Block a user