From 13de76383d075a93b472a76c8b33bdb9a3c76905 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Sun, 12 Apr 2015 13:45:27 +0200 Subject: [PATCH] Ignore case for "" --- plug.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plug.vim b/plug.vim index 11f2c85..a2e057f 100644 --- a/plug.vim +++ b/plug.vim @@ -165,7 +165,7 @@ function! plug#end() if has_key(plug, 'on') let s:triggers[name] = { 'map': [], 'cmd': [] } for cmd in s:to_a(plug.on) - if cmd =~ '^.\+' + if cmd =~? '^.\+' if empty(mapcheck(cmd)) && empty(mapcheck(cmd, 'i')) call s:assoc(lod.map, cmd, name) endif