Define s:triggers by default to avoid error after upgrade (#132)

This commit is contained in:
Junegunn Choi 2014-12-05 12:05:57 +09:00
parent 7019171737
commit 2ee153d610

View file

@ -83,6 +83,7 @@ let s:TYPE = {
\ 'funcref': type(function('call'))
\ }
let s:loaded = get(s:, 'loaded', {})
let s:triggers = get(s:, 'triggers', {})
function! plug#begin(...)
if a:0 > 0