diff --git a/plugin/fzf.vim b/plugin/fzf.vim index 317e931..f192ecb 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