diff options
author | Bram Moolenaar <Bram@vim.org> | 2009-12-02 11:08:38 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2009-12-02 11:08:38 +0000 |
commit | 43b36a3bc6a32d5094844be0f06a4d40d89749bb (patch) | |
tree | 1406d7611a0152ebff258721daa8623555957a37 /runtime | |
parent | d32a319f40e1554c100f3027fd077d278b064f67 (diff) | |
download | vim-git-43b36a3bc6a32d5094844be0f06a4d40d89749bb.tar.gz |
updated for version 7.2-310v7.2.310
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index a8e6261e9..c34510edb 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -2400,6 +2400,12 @@ au BufNewFile,BufRead /etc/xinetd.d/* call s:StarSetf('xinetd') 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 |