mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 10:35:38 -07:00
No need for filetype off
unless g:did_load_filetypes
exists
Reference: https://github.com/tpope/vim-pathogen/pull/26
This commit is contained in:
parent
2fa2761b99
commit
1f4e3eb063
4
plug.vim
4
plug.vim
@ -203,7 +203,9 @@ function! plug#end()
|
|||||||
endif
|
endif
|
||||||
let lod = { 'ft': {}, 'map': {}, 'cmd': {} }
|
let lod = { 'ft': {}, 'map': {}, 'cmd': {} }
|
||||||
|
|
||||||
filetype off
|
if exists('g:did_load_filetypes')
|
||||||
|
filetype off
|
||||||
|
endif
|
||||||
for name in g:plugs_order
|
for name in g:plugs_order
|
||||||
if !has_key(g:plugs, name)
|
if !has_key(g:plugs, name)
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user