Mercurial > vim
comparison runtime/filetype.vim @ 4681:2eb30f341e8d
Updated runtime files and translations.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 01 Jun 2013 14:50:56 +0200 |
parents | eb6ab7e78925 |
children | a5352e73dc00 |
comparison
equal
deleted
inserted
replaced
4680:fd8cc7fbc273 | 4681:2eb30f341e8d |
---|---|
1 " Vim support file to detect file types | 1 " Vim support file to detect file types |
2 " | 2 " |
3 " Maintainer: Bram Moolenaar <Bram@vim.org> | 3 " Maintainer: Bram Moolenaar <Bram@vim.org> |
4 " Last Change: 2013 May 15 | 4 " Last Change: 2013 Jun 01 |
5 | 5 |
6 " Listen very carefully, I will say this only once | 6 " Listen very carefully, I will say this only once |
7 if exists("did_load_filetypes") | 7 if exists("did_load_filetypes") |
8 finish | 8 finish |
9 endif | 9 endif |
755 au BufNewFile,BufRead *.git/COMMIT_EDITMSG setf gitcommit | 755 au BufNewFile,BufRead *.git/COMMIT_EDITMSG setf gitcommit |
756 au BufNewFile,BufRead *.git/MERGE_MSG setf gitcommit | 756 au BufNewFile,BufRead *.git/MERGE_MSG setf gitcommit |
757 au BufNewFile,BufRead *.git/config,.gitconfig,.gitmodules setf gitconfig | 757 au BufNewFile,BufRead *.git/config,.gitconfig,.gitmodules setf gitconfig |
758 au BufNewFile,BufRead *.git/modules/**/COMMIT_EDITMSG setf gitcommit | 758 au BufNewFile,BufRead *.git/modules/**/COMMIT_EDITMSG setf gitcommit |
759 au BufNewFile,BufRead *.git/modules/**/config setf gitconfig | 759 au BufNewFile,BufRead *.git/modules/**/config setf gitconfig |
760 au BufNewFile,BufRead */.config/git/config setf gitconfig | |
760 au BufNewFile,BufRead git-rebase-todo setf gitrebase | 761 au BufNewFile,BufRead git-rebase-todo setf gitrebase |
761 au BufNewFile,BufRead .msg.[0-9]* | 762 au BufNewFile,BufRead .msg.[0-9]* |
762 \ if getline(1) =~ '^From.*# This line is ignored.$' | | 763 \ if getline(1) =~ '^From.*# This line is ignored.$' | |
763 \ setf gitsendemail | | 764 \ setf gitsendemail | |
764 \ endif | 765 \ endif |
1099 | 1100 |
1100 " Map (UMN mapserver config file) | 1101 " Map (UMN mapserver config file) |
1101 au BufNewFile,BufRead *.map setf map | 1102 au BufNewFile,BufRead *.map setf map |
1102 | 1103 |
1103 " Markdown | 1104 " Markdown |
1104 au BufNewFile,BufRead *.markdown,*.mdown,*.mkd,*.mkdn,README.md setf markdown | 1105 au BufNewFile,BufRead *.markdown,*.mdown,*.mkd,*.mkdn,*.mdwn,README.md setf markdown |
1105 | 1106 |
1106 " Mason | 1107 " Mason |
1107 au BufNewFile,BufRead *.mason,*.mhtml setf mason | 1108 au BufNewFile,BufRead *.mason,*.mhtml setf mason |
1108 | 1109 |
1109 " Matlab or Objective C | 1110 " Matlab or Objective C |