Mercurial > vim
comparison runtime/filetype.vim @ 11442:d183d629509e
Update runtime files.
commit https://github.com/vim/vim/commit/b4d6c3ea4a59c6d8d4e0e52120596866f0edd510
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 27 16:45:17 2017 +0200
Update runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 27 May 2017 17:00:04 +0200 |
parents | 0f8713fe20dc |
children | 561b76ed9d12 |
comparison
equal
deleted
inserted
replaced
11441:20ae51fe57de | 11442:d183d629509e |
---|---|
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 20 | 4 " Last Change: 2017 May 27 |
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 |
979 " Initng | 979 " Initng |
980 au BufNewFile,BufRead */etc/initng/*/*.i,*.ii setf initng | 980 au BufNewFile,BufRead */etc/initng/*/*.i,*.ii setf initng |
981 | 981 |
982 " Innovation Data Processing | 982 " Innovation Data Processing |
983 au BufRead,BufNewFile upstream.dat\c,upstream.*.dat\c,*.upstream.dat\c setf upstreamdat | 983 au BufRead,BufNewFile upstream.dat\c,upstream.*.dat\c,*.upstream.dat\c setf upstreamdat |
984 au BufRead,BufNewFile upstream.log\c,upstream.*.log\c,*.upstream.log\c setf upstreamlog | 984 au BufRead,BufNewFile fdrupstream.log,upstream.log\c,upstream.*.log\c,*.upstream.log\c,UPSTREAM-*.log\c setf upstreamlog |
985 au BufRead,BufNewFile upstreaminstall.log\c,upstreaminstall.*.log\c,*.upstreaminstall.log\c setf upstreaminstalllog | 985 au BufRead,BufNewFile upstreaminstall.log\c,upstreaminstall.*.log\c,*.upstreaminstall.log\c setf upstreaminstalllog |
986 au BufRead,BufNewFile usserver.log\c,usserver.*.log\c,*.usserver.log\c setf usserverlog | 986 au BufRead,BufNewFile usserver.log\c,usserver.*.log\c,*.usserver.log\c setf usserverlog |
987 au BufRead,BufNewFile usw2kagt.log\c,usw2kagt.*.log\c,*.usw2kagt.log\c setf usw2kagtlog | 987 au BufRead,BufNewFile usw2kagt.log\c,usw2kagt.*.log\c,*.usw2kagt.log\c setf usw2kagtlog |
988 | 988 |
989 " Ipfilter | 989 " Ipfilter |
1417 if has("fname_case") | 1417 if has("fname_case") |
1418 au BufNewFile,BufRead *.pl,*.PL call s:FTpl() | 1418 au BufNewFile,BufRead *.pl,*.PL call s:FTpl() |
1419 else | 1419 else |
1420 au BufNewFile,BufRead *.pl call s:FTpl() | 1420 au BufNewFile,BufRead *.pl call s:FTpl() |
1421 endif | 1421 endif |
1422 au BufNewFile,BufRead *.plx,*.al setf perl | 1422 au BufNewFile,BufRead *.plx,*.al,*.psgi setf perl |
1423 au BufNewFile,BufRead *.p6,*.pm6,*.pl6 setf perl6 | 1423 au BufNewFile,BufRead *.p6,*.pm6,*.pl6 setf perl6 |
1424 | 1424 |
1425 func! s:FTpl() | 1425 func! s:FTpl() |
1426 if exists("g:filetype_pl") | 1426 if exists("g:filetype_pl") |
1427 exe "setf " . g:filetype_pl | 1427 exe "setf " . g:filetype_pl |
1804 " Sather | 1804 " Sather |
1805 au BufNewFile,BufRead *.sa setf sather | 1805 au BufNewFile,BufRead *.sa setf sather |
1806 | 1806 |
1807 " Scala | 1807 " Scala |
1808 au BufNewFile,BufRead *.scala setf scala | 1808 au BufNewFile,BufRead *.scala setf scala |
1809 | |
1810 " SBT - Scala Build Tool | |
1811 au BufNewFile,BufRead *.sbt setf sbt | |
1809 | 1812 |
1810 " Scilab | 1813 " Scilab |
1811 au BufNewFile,BufRead *.sci,*.sce setf scilab | 1814 au BufNewFile,BufRead *.sci,*.sce setf scilab |
1812 | 1815 |
1813 " SCSS | 1816 " SCSS |