Explorar el Código

Bugfix of on-demand loading

Hori Ryota hace 10 años
padre
commit
48fba1454b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      plug.vim

+ 1 - 1
plug.vim

@@ -440,7 +440,7 @@ function! s:add(repo, ...)
       call add(g:plugs_order, name)
     endif
     let g:plugs[name] = spec
-    let s:loaded[name] = 0
+    let s:loaded[name] = get(s:loaded, name, 0)
   catch
     return s:err(v:exception)
   endtry