diff --git a/plug.vim b/plug.vim index 584979a..3144144 100644 --- a/plug.vim +++ b/plug.vim @@ -203,7 +203,9 @@ function! plug#end() endif let lod = { 'ft': {}, 'map': {}, 'cmd': {} } - filetype off + if exists('g:did_load_filetypes') + filetype off + endif for name in g:plugs_order if !has_key(g:plugs, name) continue