Skip to content

Commit 1031a5d

Browse files
committed
Remove hack for fzf in neovim
1 parent e988b9e commit 1031a5d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

autoload/arduino.vim

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -672,12 +672,6 @@ function! arduino#Choose(title, raw_items, callback) abort
672672
\ 'sink': s:mk_fzf_callback(a:callback),
673673
\ 'options': '--prompt="'.a:title.': "'
674674
\ })
675-
" neovim got a problem with startinsert for the second fzf call, therefore feedkeys("i")
676-
" see https://github.com/junegunn/fzf/issues/426
677-
" see https://github.com/junegunn/fzf.vim/issues/21
678-
if has("nvim") && mode() != "i" && s:fzf_counter > 1
679-
call feedkeys('i')
680-
endif
681675
else
682676
let labels = s:ConvertItemsToLabels(items)
683677
call map(labels, {i, l ->

0 commit comments

Comments
 (0)