summaryrefslogtreecommitdiffstats
path: root/runtime/filetype.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2009-12-02 11:08:38 +0000
committerBram Moolenaar <Bram@vim.org>2009-12-02 11:08:38 +0000
commit43b36a3bc6a32d5094844be0f06a4d40d89749bb (patch)
tree1406d7611a0152ebff258721daa8623555957a37 /runtime/filetype.vim
parentd32a319f40e1554c100f3027fd077d278b064f67 (diff)
updated for version 7.2-310v7.2.310
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r--runtime/filetype.vim10
1 files changed, 6 insertions, 4 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index a8e6261e91..c34510edb0 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