m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 16:45:38 -05:00

[vim] Add 'none' option for popup border

This commit is contained in:
Junegunn Choi
2020-10-26 23:40:58 +09:00
parent 2e8e63fb0b
commit e73383fbbb
2 changed files with 4 additions and 1 deletions

View File

@@ -667,6 +667,9 @@ function! s:border_opt(window)
if !has_key(a:window, 'border') && !get(a:window, 'rounded', 1)
let style = 'sharp'
endif
if style == 'none'
return ''
endif
let opt = ' --border=' . style
if has_key(a:window, 'highlight')