Comptabile with <CR> <Plug>() mapping, fix #245
This commit is contained in:
parent
65a9f452f2
commit
39f06b873a
@ -596,6 +596,7 @@ endf
|
||||
func! s:ExpandMap(map)
|
||||
let map = a:map
|
||||
let map = substitute(map, '\(<Plug>\w\+\)', '\=maparg(submatch(1), "i")', 'g')
|
||||
let map = substitute(map, '\(<Plug>([^)]*)\)', '\=maparg(submatch(1), "i")', 'g')
|
||||
return map
|
||||
endf
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user