Check the actual value g:did_load_filetypes (#1176)
This resolves the issue described in #1175.
This commit is contained in:
parent
93ab590978
commit
be55ec46b5
1 changed files with 1 additions and 1 deletions
2
plug.vim
2
plug.vim
|
@ -352,7 +352,7 @@ function! plug#end()
|
||||||
endif
|
endif
|
||||||
let lod = { 'ft': {}, 'map': {}, 'cmd': {} }
|
let lod = { 'ft': {}, 'map': {}, 'cmd': {} }
|
||||||
|
|
||||||
if exists('g:did_load_filetypes')
|
if get(g:, 'did_load_filetypes', 0)
|
||||||
filetype off
|
filetype off
|
||||||
endif
|
endif
|
||||||
for name in g:plugs_order
|
for name in g:plugs_order
|
||||||
|
|
Loading…
Reference in a new issue