Mercurial > vim
comparison runtime/filetype.vim @ 11400:0f8713fe20dc
Updated runtime files.
commit https://github.com/vim/vim/commit/94237495c03f919a60b262fdcd3861e1931fc45a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 23 18:40:21 2017 +0200
Updated runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 23 Apr 2017 18:45:04 +0200 |
parents | a6b9cdcde548 |
children | d183d629509e |
comparison
equal
deleted
inserted
replaced
11399:0031acbf1fce | 11400:0f8713fe20dc |
---|---|
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: 2017 Apr 15 | 4 " Last Change: 2017 Apr 20 |
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 |
2131 | 2131 |
2132 " OpenSSH server configuration | 2132 " OpenSSH server configuration |
2133 au BufNewFile,BufRead sshd_config setf sshdconfig | 2133 au BufNewFile,BufRead sshd_config setf sshdconfig |
2134 | 2134 |
2135 " Stata | 2135 " Stata |
2136 au BufNewFile,BufRead *.ado,*.class,*.do,*.imata,*.mata setf stata | 2136 au BufNewFile,BufRead *.ado,*.do,*.imata,*.mata setf stata |
2137 " Also *.class, but not when it's a Java bytecode file | |
2138 au BufNewFile,BufRead *.class | |
2139 \ if getline(1) !~ "^\xca\xfe\xba\xbe" | setf stata | endif | |
2137 | 2140 |
2138 " SMCL | 2141 " SMCL |
2139 au BufNewFile,BufRead *.hlp,*.ihlp,*.smcl setf smcl | 2142 au BufNewFile,BufRead *.hlp,*.ihlp,*.smcl setf smcl |
2140 | 2143 |
2141 " Stored Procedures | 2144 " Stored Procedures |