From 4d352e1849817af3bbc0ff857cc1635a9c03b73c Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 22 Jun 2014 10:21:58 +0900 Subject: [PATCH] Revert "Clear #filetypeplugin for filetype-based ODL (#24)" This reverts commit 1d477a1a01390f8aa122d9cdb30a44ba469d2253. --- plug.vim | 9 --------- 1 file changed, 9 deletions(-) diff --git a/plug.vim b/plug.vim index a768f46..1399103 100644 --- a/plug.vim +++ b/plug.vim @@ -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