From 94f72a68c3dccade13ec7203a284620040f930f1 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 11 Mar 2014 00:36:09 +0100 Subject: Update --- ftdetect/polyglot.vim | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 7157e3cd..cdeb9332 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -20,10 +20,7 @@ autocmd BufNewFile,BufRead *.git/config,.gitconfig,.gitmodules set ft=gitconfig autocmd BufNewFile,BufRead */.config/git/config set ft=gitconfig autocmd BufNewFile,BufRead *.git/modules/**/config set ft=gitconfig autocmd BufNewFile,BufRead git-rebase-todo set ft=gitrebase -autocmd BufNewFile,BufRead .msg.[0-9]* - \ if getline(1) =~ '^From.*# This line is ignored.$' | - \ set ft=gitsendemail | - \ endif +autocmd BufNewFile,BufRead .gitsendemail.* set ft=gitsendemail autocmd BufNewFile,BufRead *.git/** \ if getline(1) =~ '^\x\{40\}\>\|^ref: ' | \ set ft=git | -- cgit v1.2.3