remove(nvim): telescope autocmd that fixed entering insert mode
This commit is contained in:
1 parent
b5552a3651
commit
c857f9b7b4
1 file changed
-9
@@ -9,15 +9,6 @@ ac("BufRead", {
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Fix telescope entering on insert mode
|
|
||||||
ac("WinLeave", {
|
|
||||||
callback = function()
|
|
||||||
if vim.bo.ft == "TelescopePrompt" and vim.fn.mode() == "i" then
|
|
||||||
vim.api.nvim_feedkeys(vim.api.nvim_replace_termcodes("<Esc>", true, false, true), "i", false)
|
|
||||||
end
|
|
||||||
end,
|
|
||||||
})
|
|
||||||
|
|
||||||
local auto_close_filetype = {
|
local auto_close_filetype = {
|
||||||
"lazy",
|
"lazy",
|
||||||
"mason",
|
"mason",
|
||||||
|
|||||||
Reference in new issue
Block a user