Skip to content

Commit d459ec7

Browse files
committed
fix: don't feedkeys on nightly
1 parent b2bf9bd commit d459ec7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lua/fzf-lua/fzf.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,8 @@ function M.raw_fzf(contents, fzf_cli_args, opts)
183183
if fzfwin then fzfwin:update_statusline() end
184184

185185
-- See note in "ModeChanged" above
186-
if vim.api.nvim_get_mode().mode == "t" then
186+
187+
if not utils.__HAS_NVIM_012 and vim.api.nvim_get_mode().mode == "t" then
187188
-- Called from another fzf-win most likely
188189
utils.feed_keys_termcodes("i")
189190
else

0 commit comments

Comments
 (0)