Skip to content
Myr

[vim] Remove unnecessary `border` management in nvim floating window (#2370)

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

authored by Hiroki Konishi · committed by GitHub · parent 29851c1 · Browse files · 1 file+0 added−4 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+0 added−4 removed

  • other:+0 added−4 removed

1 file+0 added−4 removed

modified:plugin/fzf.vim-4 removed
913 unmodified lines
914if has('nvim')915 function s:create_popup(hl, opts) abort916 let buf = nvim_create_buf(v:false, v:true)917 let opts = extend({'relative': 'editor', 'style': 'minimal'}, a:opts)918 let border = has_key(opts, 'border') ? remove(opts, 'border') : []918 let win = nvim_open_win(buf, v:true, opts)919 call setwinvar(win, '&winhighlight', 'NormalFloat:'..a:hl)920 call setwinvar(win, '&colorcolumn', '')922 if !empty(border)923 call nvim_buf_set_lines(buf, 0, -1, v:true, border)924 endif921 return buf922 endfunction923else924 function! s:create_popup(hl, opts) abort
67 unmodified lines