summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/fzf.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index 317e9316..f192ecbe 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -511,8 +511,8 @@ try
let height = s:calc_size(&lines, dict.down, dict)
let optstr .= ' --height='.height
endif
- " Respect --border option given in 'options'
- let optstr = join([s:border_opt(get(dict, 'window', 0)), optstr])
+ " Respect --border option given in $FZF_DEFAULT_OPTS and 'options'
+ let optstr = join([s:border_opt(get(dict, 'window', 0)), $FZF_DEFAULT_OPTS, optstr])
let prev_default_command = $FZF_DEFAULT_COMMAND
if len(source_command)
let $FZF_DEFAULT_COMMAND = source_command