Check the actual value g:did_load_filetypes (#1176)

This resolves the issue described in #1175.
This commit is contained in:
Karl Yngve Lervåg 2022-04-21 15:54:02 +02:00 committed by GitHub
parent 93ab590978
commit be55ec46b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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