Skip to content
Myr

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

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent e7ca237 · Browse files · 2 files+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:plugin/fzf.vim+1 added-1 removed
698 unmodified lines
699 let style = tolower(get(a:window, 'border', 'rounded'))700 if !has_key(a:window, 'border') && !get(a:window, 'rounded', 1)701 let style = 'sharp'702 endif703 if style == 'none'703 if style == 'none' || style == 'no'704 return ''705 endif706707 " For --border styles, we need fzf 0.24.0 or above
277 unmodified lines
modified:README-VIM.md+1 added-1 removed
297 unmodified lines
298- Optional:299 - `yoffset` [float default 0.5 range [0 ~ 1]]300 - `xoffset` [float default 0.5 range [0 ~ 1]]301 - `border` [string default `rounded`]: Border style302 - `rounded` / `sharp` / `horizontal` / `vertical` / `top` / `bottom` / `left` / `right` / `none`302 - `rounded` / `sharp` / `horizontal` / `vertical` / `top` / `bottom` / `left` / `right` / `no[ne]`303304`fzf#wrap`305----------306
143 unmodified lines