summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorHiroki Konishi <relastle@gmail.com>2021-02-25 14:41:23 +0900
committerGitHub <noreply@github.com>2021-02-25 14:41:23 +0900
commit806a47a7ccf58e7e325c779e4f08a2ddd56aa100 (patch)
tree554ebfeb3d918f62ee7f101ed542b8ff689cab8f /plugin
parent29851c18aa47ad4b4cbf92358cfbe11935f0c033 (diff)
[vim] Remove unnecessary `border` management in nvim floating window (#2370)
Diffstat (limited to 'plugin')
-rw-r--r--plugin/fzf.vim4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index be488a99..12cd1760 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -915,13 +915,9 @@ if has('nvim')
function s:create_popup(hl, opts) abort
let buf = nvim_create_buf(v:false, v:true)
let opts = extend({'relative': 'editor', 'style': 'minimal'}, a:opts)
- let border = has_key(opts, 'border') ? remove(opts, 'border') : []
let win = nvim_open_win(buf, v:true, opts)
call setwinvar(win, '&winhighlight', 'NormalFloat:'..a:hl)
call setwinvar(win, '&colorcolumn', '')
- if !empty(border)
- call nvim_buf_set_lines(buf, 0, -1, v:true, border)
- endif
return buf
endfunction
else