chore: simplify conditional

This commit is contained in:
Karl Yngve Lervåg 2022-04-21 10:23:27 +02:00 committed by GitHub
parent bd4a5f2595
commit 820e1a0a16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -352,7 +352,7 @@ function! plug#end()
endif
let lod = { 'ft': {}, 'map': {}, 'cmd': {} }
if get(g:, 'did_load_filetypes', 0) > 0
if get(g:, 'did_load_filetypes', 0)
filetype off
endif
for name in g:plugs_order