소스 검색

Revert "Clear #filetypeplugin for filetype-based ODL (#24)"

This reverts commit 1d477a1a01390f8aa122d9cdb30a44ba469d2253.
Junegunn Choi 11 년 전
부모
커밋
4d352e1849
1개의 변경된 파일0개의 추가작업 그리고 9개의 파일을 삭제
  1. 0 9
      plug.vim

+ 0 - 9
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