[vim] Allow 'border': 'no' to be consistent with --color=no

This commit is contained in:
Junegunn Choi
2020-10-29 01:32:41 +09:00
parent e7ca237b07
commit 569be4c6c9
2 changed files with 2 additions and 2 deletions

View File

@@ -700,7 +700,7 @@ function! s:border_opt(window)
if !has_key(a:window, 'border') && !get(a:window, 'rounded', 1)
let style = 'sharp'
endif
if style == 'none'
if style == 'none' || style == 'no'
return ''
endif