summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2020-10-26 23:40:58 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2020-10-26 23:41:20 +0900
commite73383fbbba172c1375c4b8d09328f30516d5333 (patch)
tree09c026b863ad3e10485a7188025170a83823b3e9 /plugin
parent2e8e63fb0b3b62e89472eebe9e86578598e1a541 (diff)
[vim] Add 'none' option for popup border
Diffstat (limited to 'plugin')
-rw-r--r--plugin/fzf.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index 065ac156..671f4537 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -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')