Ignore trailing ! in proxy command name

Close #557
This commit is contained in:
Junegunn Choi
2016-11-26 12:22:55 +09:00
parent 46ddb4af2d
commit 6ad18f5fb8
2 changed files with 2 additions and 1 deletions

View File

@@ -225,6 +225,7 @@ function! plug#end()
endif
call add(s:triggers[name].map, cmd)
elseif cmd =~# '^[A-Z]'
let cmd = substitute(cmd, '!*$', '', '')
if exists(':'.cmd) != 2
call s:assoc(lod.cmd, cmd, name)
endif