Skip to content

Commit

Permalink
Revert "Clear #filetypeplugin for filetype-based ODL (#24)"
Browse files Browse the repository at this point in the history
This reverts commit 1d477a1.
  • Loading branch information
junegunn committed Jun 22, 2014
1 parent db3f5ad commit 4d352e1
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions plug.vim
Expand Up @@ -124,15 +124,6 @@ function! plug#end()
endif

filetype off
if exists('#filetypeplugin') &&
\ !empty(filter(values(g:plugs), 'has_key(v:val, "for")'))
unlet! g:did_load_ftplugin
augroup filetypeplugin
autocmd!
augroup END
augroup! filetypeplugin
endif

" we want to make sure the plugin directories are added to rtp in the same
" order that they are registered with the Plug command. since the s:add_rtp
" function uses ^= to add plugin directories to the front of the rtp, we
Expand Down

0 comments on commit 4d352e1

Please sign in to comment.