Skip to content

Commit 449a1c8

Browse files
committed
Blow up on g:nremap = ''
1 parent 08ca562 commit 449a1c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/dispatch.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function! s:map(mode, lhs, rhs, ...) abort
3636
let head = a:lhs
3737
let tail = ''
3838
let keys = get(g:, a:mode.'remap', {})
39-
if type(keys) != type({})
39+
if type(keys) == type([])
4040
return
4141
endif
4242
while !empty(head)

0 commit comments

Comments
 (0)