summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2020-06-20 22:12:50 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2020-06-20 22:15:12 +0900
commit07a03b3e739e146182062b1b7f84507569cfdbec (patch)
tree8201fc8b771281e88280a730d29b3e096b5d3c64 /plugin
parent06d63a862e900dcc6ee6c2335120cc8cb939698f (diff)
[vim] Make fzf#wrap support v:true and v:false as well
Fix #2087
Diffstat (limited to 'plugin')
-rw-r--r--plugin/fzf.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index 06ef99ad..e3a11179 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -297,7 +297,7 @@ function! fzf#wrap(...)
let expects = map(copy(args), 'type(v:val)')
let tidx = 0
for arg in copy(a:000)
- let tidx = index(expects, type(arg), tidx)
+ let tidx = index(expects, type(arg) == 6 ? type(0) : type(arg), tidx)
if tidx < 0
throw 'Invalid arguments (expected: [name string] [opts dict] [fullscreen boolean])'
endif