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
1 changed files with 3 additions and 1 deletions
4
plug.vim
4
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
|
||||
|
|
Loading…
Reference in a new issue