Skip to content
Myr

[vim] Remove dead code

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent f8aaeef · Browse files · 1 file+2 added−11 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−11 removed

  • other:+2 added−11 removed

1 file+2 added−11 removed

modified:plugin/fzf.vim+2 added-11 removed
906 unmodified lines
907 return buf908 endfunction909else910 function! s:create_popup(hl, opts) abort911 let is_frame = has_key(a:opts, 'border')911 let s:popup_create = {buf -> popup_create(buf, #{912 \ line: a:opts.row,913 \ col: a:opts.col,914 \ minwidth: a:opts.width,915 \ minheight: a:opts.height,917 \ zindex: 50 - is_frame,916 \ zindex: 1000,917 \ })}919 if is_frame920 let id = s:popup_create('')921 call setwinvar(id, '&wincolor', a:hl)922 call setbufline(winbufnr(id), 1, a:opts.border)923 execute 'autocmd BufWipeout * ++once call popup_close('..id..')'924 return winbufnr(id)925 else926 autocmd TerminalOpen * ++once call s:popup_create(str2nr(expand('<abuf>')))918 autocmd TerminalOpen * ++once call s:popup_create(str2nr(expand('<abuf>')))927 endif919 endfunction920endif921922function! s:popup(opts) abort
53 unmodified lines