Mercurial > vim
comparison runtime/filetype.vim @ 2152:b9e314fe473f
Updated runtime files.
author | Bram Moolenaar <bram@zimbu.org> |
---|---|
date | Fri, 14 May 2010 23:24:24 +0200 |
parents | 3259c3923c1e |
children | f7579a31705c |
comparison
equal
deleted
inserted
replaced
2151:ae22c450546c | 2152:b9e314fe473f |
---|---|
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: 2010 Feb 24 | 4 " Last Change: 2010 May 14 |
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 |
322 \ call s:StarSetf('calendar') | 322 \ call s:StarSetf('calendar') |
323 | 323 |
324 " C# | 324 " C# |
325 au BufNewFile,BufRead *.cs setf cs | 325 au BufNewFile,BufRead *.cs setf cs |
326 | 326 |
327 " Cabal | |
328 au BufNewFile,BufRead *.cabal setf cabal | |
329 | |
327 " Cdrdao TOC | 330 " Cdrdao TOC |
328 au BufNewFile,BufRead *.toc setf cdrtoc | 331 au BufNewFile,BufRead *.toc setf cdrtoc |
329 | 332 |
330 " Cdrdao config | 333 " Cdrdao config |
331 au BufNewFile,BufRead etc/cdrdao.conf,etc/defaults/cdrdao,etc/default/cdrdao,~/.cdrdao setf cdrdaoconf | 334 au BufNewFile,BufRead etc/cdrdao.conf,etc/defaults/cdrdao,etc/default/cdrdao,~/.cdrdao setf cdrdaoconf |
332 | 335 |
333 " Cfengine | 336 " Cfengine |
334 au BufNewFile,BufRead cfengine.conf setf cfengine | 337 au BufNewFile,BufRead cfengine.conf setf cfengine |
338 | |
339 " ChaiScript | |
340 au BufRead,BufNewFile *.chai setf chaiscript | |
335 | 341 |
336 " Comshare Dimension Definition Language | 342 " Comshare Dimension Definition Language |
337 au BufNewFile,BufRead *.cdl setf cdl | 343 au BufNewFile,BufRead *.cdl setf cdl |
338 | 344 |
339 " Conary Recipe | 345 " Conary Recipe |
762 | 768 |
763 " Hamster Classic | Playground files | 769 " Hamster Classic | Playground files |
764 au BufNewFile,BufRead *.hsc,*.hsm setf hamster | 770 au BufNewFile,BufRead *.hsc,*.hsm setf hamster |
765 | 771 |
766 " Haskell | 772 " Haskell |
767 au BufNewFile,BufRead *.hs setf haskell | 773 au BufNewFile,BufRead *.hs,*.hs-boot setf haskell |
768 au BufNewFile,BufRead *.lhs setf lhaskell | 774 au BufNewFile,BufRead *.lhs setf lhaskell |
769 au BufNewFile,BufRead *.chs setf chaskell | 775 au BufNewFile,BufRead *.chs setf chaskell |
770 | 776 |
771 " Haste | 777 " Haste |
772 au BufNewFile,BufRead *.ht setf haste | 778 au BufNewFile,BufRead *.ht setf haste |
1379 au BufNewFile,BufRead *.g setf pccts | 1385 au BufNewFile,BufRead *.g setf pccts |
1380 | 1386 |
1381 " PPWizard | 1387 " PPWizard |
1382 au BufNewFile,BufRead *.it,*.ih setf ppwiz | 1388 au BufNewFile,BufRead *.it,*.ih setf ppwiz |
1383 | 1389 |
1390 " Obj 3D file format | |
1391 " TODO: is there a way to avoid MS-Windows Object files? | |
1392 au BufNewFile,BufRead *.obj setf obj | |
1393 | |
1384 " Oracle Pro*C/C++ | 1394 " Oracle Pro*C/C++ |
1385 au BufNewFile,BufRead *.pc setf proc | 1395 au BufNewFile,BufRead *.pc setf proc |
1386 | 1396 |
1387 " Privoxy actions file | 1397 " Privoxy actions file |
1388 au BufNewFile,BufRead *.action setf privoxy | 1398 au BufNewFile,BufRead *.action setf privoxy |
1935 " Synopsys Design Constraints | 1945 " Synopsys Design Constraints |
1936 au BufNewFile,BufRead *.sdc setf sdc | 1946 au BufNewFile,BufRead *.sdc setf sdc |
1937 | 1947 |
1938 " Sudoers | 1948 " Sudoers |
1939 au BufNewFile,BufRead /etc/sudoers,sudoers.tmp setf sudoers | 1949 au BufNewFile,BufRead /etc/sudoers,sudoers.tmp setf sudoers |
1950 | |
1951 " SVG (Scalable Vector Graphics) | |
1952 au BufNewFile,BufRead *.svg setf svg | |
1940 | 1953 |
1941 " If the file has an extension of 't' and is in a directory 't' then it is | 1954 " If the file has an extension of 't' and is in a directory 't' then it is |
1942 " almost certainly a Perl test file. | 1955 " almost certainly a Perl test file. |
1943 " If the first line starts with '#' and contains 'perl' it's probably a Perl | 1956 " If the first line starts with '#' and contains 'perl' it's probably a Perl |
1944 " file. | 1957 " file. |