[vim] Add 'none' option for popup border

This commit is contained in:
Junegunn Choi committed 2020-10-26 23:41:20 +09:00
1 parent 2e8e63fb0b
commit e73383fbbb
2 files changed
+4 -1

No files matched your search

+3
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')