From b69c52cd7d885321d69a0c9b1122a656629359e7 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 3 Oct 2007 15:58:22 +0100 Subject: [PATCH] detect git commit and config filetypes --- .vim/ftdetect/git-commit.vim | 1 + .vim/ftdetect/git-config.vim | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 .vim/ftdetect/git-commit.vim create mode 100644 .vim/ftdetect/git-config.vim 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 -- 2.39.5