aboutsummaryrefslogtreecommitdiff
path: root/vim/filetype.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-19 15:08:52 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-19 15:08:52 +1200
commitb82351c91f4842b3bbc48fb310cb6bdf160a2235 (patch)
tree1d4bcaa64595065b1f46cf86cf235384c35f623e /vim/filetype.vim
parente050c970bfdbbdc65f9c6135ac021a10a8b8b168 (diff)
downloaddotfiles-b82351c91f4842b3bbc48fb310cb6bdf160a2235.tar.gz
dotfiles-b82351c91f4842b3bbc48fb310cb6bdf160a2235.zip
Rearrange filetype.vim final stanzas
Diffstat (limited to 'vim/filetype.vim')
-rw-r--r--vim/filetype.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/vim/filetype.vim b/vim/filetype.vim
index fdf75d59..6c40dec1 100644
--- a/vim/filetype.vim
+++ b/vim/filetype.vim
@@ -458,6 +458,9 @@ augroup filetypedetect
\,zshrc
\ setfiletype zsh
+ " Load any extra rules in ftdetect directories
+ runtime! ftdetect/*.vim
+
" Generic text, config, and log files, if no type assigned yet
autocmd BufNewFile,BufRead
\ ?*.text
@@ -478,9 +481,6 @@ augroup filetypedetect
\,*.log
\ setf messages
- " Load any extra rules in ftdetect directories
- runtime! ftdetect/*.vim
-
" Clumsy attempt at typing files in `sudo -e` if a filename hasn't already
" been found; strip temporary extension and re-run
autocmd BufNewFile,BufRead