From: martin f. krafft Date: Wed, 3 Oct 2007 14:58:22 +0000 (+0100) Subject: detect git commit and config filetypes X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/b69c52cd7d885321d69a0c9b1122a656629359e7?ds=inline detect git commit and config filetypes --- diff --git a/.vim/ftdetect/git-commit.vim b/.vim/ftdetect/git-commit.vim new file mode 100644 index 0000000..a4a2be0 --- /dev/null +++ b/.vim/ftdetect/git-commit.vim @@ -0,0 +1 @@ +au BufRead,BufNewFile COMMIT_EDITMSG setf git diff --git a/.vim/ftdetect/git-config.vim b/.vim/ftdetect/git-config.vim new file mode 100644 index 0000000..b1a1016 --- /dev/null +++ b/.vim/ftdetect/git-config.vim @@ -0,0 +1,3 @@ +augroup filetypedetect + au! BufNewFile,BufRead *.git/config,*/.git/config,.gitconfig,gitconfig set ft=dosini +augroup END