Группа :: Редакторы
Пакет: vim
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: vim-7.0-alt-early-ftdetect.patch
--- vim70/runtime/filetype.vim.orig 2006-09-02 19:55:27 +0400
+++ vim70/runtime/filetype.vim 2006-09-02 20:28:35 +0400
@@ -2167,6 +2167,10 @@
au BufNewFile,BufRead zsh*,zlog* call s:StarSetf('zsh')
+" Use the plugin-filetype checks last, they may overrule any of the previously
+" detected filetypes.
+runtime! ftdetect/*.vim
+
" Generic configuration file (check this last, it's just guessing!)
au BufNewFile,BufRead,StdinReadPost *
\ if !did_filetype() && expand("<amatch>") !~ g:ft_ignore_pat
@@ -2175,10 +2179,6 @@
\ setf conf |
\ endif
-" Use the plugin-filetype checks last, they may overrule any of the previously
-" detected filetypes.
-runtime! ftdetect/*.vim
-
augroup END