Mercurial > vim
changeset 2013:82885ffcad10 v7.2.310
updated for version 7.2-310
author | vimboss |
---|---|
date | Wed, 02 Dec 2009 11:08:38 +0000 |
parents | b99303b1483f |
children | 79b395ba0ea5 |
files | runtime/filetype.vim src/version.c |
diffstat | 2 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -2400,6 +2400,12 @@ au BufNewFile,BufRead /etc/xinetd.d/* c au BufNewFile,BufRead zsh*,zlog* call s:StarSetf('zsh') + +" Use the filetype detect plugins. 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 @@ -2408,10 +2414,6 @@ au BufNewFile,BufRead,StdinReadPost * \ setf conf | \ endif -" Use the plugin-filetype checks last, they may overrule any of the previously -" detected filetypes. -runtime! ftdetect/*.vim - augroup END