Mercurial > vim
annotate src/testdir/test_filetype.vim @ 19749:cc2f523c1828
Added tag v8.2.0430 for changeset d089bd9511c0aa1ac40ed4aa793a8a3c68ffaca5
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 22 Mar 2020 21:30:05 +0100 |
parents | de7c724bf803 |
children | 9cbe7ba51ce5 |
rev | line source |
---|---|
11459
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 " Test :setfiletype |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 func Test_detection() |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 filetype on |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
5 augroup filetypedetect |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
6 au BufNewFile,BufRead * call assert_equal(1, did_filetype()) |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
7 augroup END |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
8 new something.vim |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
9 call assert_equal('vim', &filetype) |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
10 |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
11 bwipe! |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
12 filetype off |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
13 endfunc |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
14 |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
15 func Test_conf_type() |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
16 filetype on |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
17 call writefile(['# some comment', 'must be conf'], 'Xfile') |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
18 augroup filetypedetect |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
19 au BufNewFile,BufRead * call assert_equal(0, did_filetype()) |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
20 augroup END |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
21 split Xfile |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
22 call assert_equal('conf', &filetype) |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
23 |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
24 bwipe! |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
25 call delete('Xfile') |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
26 filetype off |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
27 endfunc |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
28 |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
29 func Test_other_type() |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
30 filetype on |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
31 augroup filetypedetect |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
32 au BufNewFile,BufRead * call assert_equal(0, did_filetype()) |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
33 au BufNewFile,BufRead Xfile setf testfile |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
34 au BufNewFile,BufRead * call assert_equal(1, did_filetype()) |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
35 augroup END |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
36 call writefile(['# some comment', 'must be conf'], 'Xfile') |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
37 split Xfile |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
38 call assert_equal('testfile', &filetype) |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
39 |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
40 bwipe! |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
41 call delete('Xfile') |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
42 filetype off |
561b76ed9d12
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
43 endfunc |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
44 |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
45 " Filetypes detected just from matching the file name. |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
46 let s:filename_checks = { |
17528
62a6d99082f7
patch 8.1.1762: some filetype rules are in the wrong place
Bram Moolenaar <Bram@vim.org>
parents:
17526
diff
changeset
|
47 \ '8th': ['file.8th'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
48 \ 'a2ps': ['/etc/a2ps.cfg', '/etc/a2ps/file.cfg', 'a2psrc', '.a2psrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
49 \ 'a65': ['file.a65'], |
17528
62a6d99082f7
patch 8.1.1762: some filetype rules are in the wrong place
Bram Moolenaar <Bram@vim.org>
parents:
17526
diff
changeset
|
50 \ 'aap': ['file.aap'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
51 \ 'abap': ['file.abap'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
52 \ 'abc': ['file.abc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
53 \ 'abel': ['file.abl'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
54 \ 'acedb': ['file.wrm'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
55 \ 'ada': ['file.adb', 'file.ads', 'file.ada', 'file.gpr'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
56 \ 'ahdl': ['file.tdf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
57 \ 'alsaconf': ['.asoundrc', '/usr/share/alsa/alsa.conf', '/etc/asound.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
58 \ 'aml': ['file.aml'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
59 \ 'ampl': ['file.run'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
60 \ 'ant': ['build.xml'], |
17528
62a6d99082f7
patch 8.1.1762: some filetype rules are in the wrong place
Bram Moolenaar <Bram@vim.org>
parents:
17526
diff
changeset
|
61 \ 'apache': ['.htaccess', '/etc/httpd/file.conf', '/etc/apache2/sites-2/file.com', '/etc/apache2/some.config', '/etc/apache2/conf.file/conf', '/etc/apache2/mods-some/file', '/etc/apache2/sites-some/file', '/etc/httpd/conf.d/file.config'], |
62a6d99082f7
patch 8.1.1762: some filetype rules are in the wrong place
Bram Moolenaar <Bram@vim.org>
parents:
17526
diff
changeset
|
62 \ 'apachestyle': ['/etc/proftpd/file.config,/etc/proftpd/conf.file/file'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
63 \ 'applescript': ['file.scpt'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
64 \ 'aptconf': ['apt.conf', '/.aptitude/config'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
65 \ 'arch': ['.arch-inventory'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
66 \ 'arduino': ['file.ino', 'file.pde'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
67 \ 'art': ['file.art'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
68 \ 'asciidoc': ['file.asciidoc', 'file.adoc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
69 \ 'asn': ['file.asn', 'file.asn1'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
70 \ 'atlas': ['file.atl', 'file.as'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
71 \ 'autohotkey': ['file.ahk'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
72 \ 'autoit': ['file.au3'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
73 \ 'automake': ['GNUmakefile.am'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
74 \ 'ave': ['file.ave'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
75 \ 'awk': ['file.awk'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
76 \ 'b': ['file.mch', 'file.ref', 'file.imp'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
77 \ 'bc': ['file.bc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
78 \ 'bdf': ['file.bdf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
79 \ 'bib': ['file.bib'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
80 \ 'bindzone': ['named.root'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
81 \ 'blank': ['file.bl'], |
19717
de7c724bf803
patch 8.2.0415: bsdl filetype is not detected
Bram Moolenaar <Bram@vim.org>
parents:
19607
diff
changeset
|
82 \ 'bsdl': ['file.bsdl'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
83 \ 'bst': ['file.bst'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
84 \ 'bzr': ['bzr_log.any'], |
12029
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
85 \ 'c': ['enlightenment/file.cfg', 'file.qc', 'file.c'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
86 \ 'cabal': ['file.cabal'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
87 \ 'calendar': ['calendar'], |
17528
62a6d99082f7
patch 8.1.1762: some filetype rules are in the wrong place
Bram Moolenaar <Bram@vim.org>
parents:
17526
diff
changeset
|
88 \ 'catalog': ['catalog', 'sgml.catalogfile'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
89 \ 'cdl': ['file.cdl'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
90 \ 'cdrdaoconf': ['/etc/cdrdao.conf', '/etc/defaults/cdrdao', '/etc/default/cdrdao', '.cdrdao'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
91 \ 'cdrtoc': ['file.toc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
92 \ 'cf': ['file.cfm', 'file.cfi', 'file.cfc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
93 \ 'cfengine': ['cfengine.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
94 \ 'cfg': ['file.cfg', 'file.hgrc', 'filehgrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
95 \ 'ch': ['file.chf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
96 \ 'chaiscript': ['file.chai'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
97 \ 'chaskell': ['file.chs'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
98 \ 'chill': ['file..ch'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
99 \ 'chordpro': ['file.chopro', 'file.crd', 'file.cho', 'file.crdpro', 'file.chordpro'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
100 \ 'cl': ['file.eni'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
101 \ 'clean': ['file.dcl', 'file.icl'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
102 \ 'clojure': ['file.clj', 'file.cljs', 'file.cljx', 'file.cljc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
103 \ 'cmake': ['CMakeLists.txt', 'file.cmake', 'file.cmake.in'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
104 \ 'cmusrc': ['any/.cmus/autosave', 'any/.cmus/rc', 'any/.cmus/command-history', 'any/.cmus/file.theme', 'any/cmus/rc', 'any/cmus/file.theme'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
105 \ 'cobol': ['file.cbl', 'file.cob', 'file.lib'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
106 \ 'coco': ['file.atg'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
107 \ 'conaryrecipe': ['file.recipe'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
108 \ 'conf': ['auto.master'], |
16364
db8f57e3e9f5
patch 8.1.1187: cannot recognize Pipfile
Bram Moolenaar <Bram@vim.org>
parents:
16344
diff
changeset
|
109 \ 'config': ['configure.in', 'configure.ac', 'Pipfile'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
110 \ 'context': ['tex/context/any/file.tex', 'file.mkii', 'file.mkiv', 'file.mkvi'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
111 \ 'cpp': ['file.cxx', 'file.c++', 'file.hh', 'file.hxx', 'file.hpp', 'file.ipp', 'file.moc', 'file.tcc', 'file.inl', 'file.tlh'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
112 \ 'crm': ['file.crm'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
113 \ 'cs': ['file.cs'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
114 \ 'csc': ['file.csc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
115 \ 'csdl': ['file.csdl'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
116 \ 'csp': ['file.csp', 'file.fdr'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
117 \ 'css': ['file.css'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
118 \ 'cterm': ['file.con'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
119 \ 'cucumber': ['file.feature'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
120 \ 'cuda': ['file.cu'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
121 \ 'cupl': ['file.pld'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
122 \ 'cuplsim': ['file.si'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
123 \ 'cvs': ['cvs123'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
124 \ 'cvsrc': ['.cvsrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
125 \ 'cynpp': ['file.cyn'], |
18366
c6826a74ad9b
patch 8.1.2177: Dart files are not recognized
Bram Moolenaar <Bram@vim.org>
parents:
18362
diff
changeset
|
126 \ 'dart': ['file.dart', 'file.drt'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
127 \ 'datascript': ['file.ds'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
128 \ 'dcd': ['file.dcd'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
129 \ 'debcontrol': ['/debian/control'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
130 \ 'debsources': ['/etc/apt/sources.list', '/etc/apt/sources.list.d/file.list'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
131 \ 'def': ['file.def'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
132 \ 'denyhosts': ['denyhosts.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
133 \ 'desc': ['file.desc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
134 \ 'desktop': ['file.desktop', '.directory'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
135 \ 'dictconf': ['dict.conf', '.dictrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
136 \ 'dictdconf': ['dictd.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
137 \ 'diff': ['file.diff', 'file.rej'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
138 \ 'dircolors': ['.dir_colors', '.dircolors', '/etc/DIR_COLORS'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
139 \ 'dnsmasq': ['/etc/dnsmasq.conf'], |
18489 | 140 \ 'dockerfile': ['Containerfile', 'Dockerfile', 'file.Dockerfile'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
141 \ 'dosbatch': ['file.bat', 'file.sys'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
142 \ 'dosini': ['.editorconfig', '/etc/yum.conf', 'file.ini'], |
19205
861b1cc1a8a2
patch 8.2.0161: not recognizing .gv file as dot filetype
Bram Moolenaar <Bram@vim.org>
parents:
19164
diff
changeset
|
143 \ 'dot': ['file.dot', 'file.gv'], |
12029
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
144 \ 'dracula': ['file.drac', 'file.drc', 'filelvs', 'filelpe'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
145 \ 'dsl': ['file.dsl'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
146 \ 'dtd': ['file.dtd'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
147 \ 'dts': ['file.dts', 'file.dtsi'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
148 \ 'dylan': ['file.dylan'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
149 \ 'dylanintr': ['file.intr'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
150 \ 'dylanlid': ['file.lid'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
151 \ 'ecd': ['file.ecd'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
152 \ 'edif': ['file.edf', 'file.edif', 'file.edo'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
153 \ 'elinks': ['/etc/elinks.conf', '/.elinks/elinks.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
154 \ 'elmfilt': ['filter-rules'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
155 \ 'erlang': ['file.erl', 'file.hrl', 'file.yaws'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
156 \ 'eruby': ['file.erb', 'file.rhtml'], |
12029
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
157 \ 'esmtprc': ['anyesmtprc'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
158 \ 'esqlc': ['file.ec', 'file.EC'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
159 \ 'esterel': ['file.strl'], |
12029
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
160 \ 'eterm': ['anyEterm/file.cfg'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
161 \ 'exim': ['exim.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
162 \ 'expect': ['file.exp'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
163 \ 'exports': ['exports'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
164 \ 'factor': ['file.factor'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
165 \ 'falcon': ['file.fal'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
166 \ 'fan': ['file.fan', 'file.fwt'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
167 \ 'fetchmail': ['.fetchmailrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
168 \ 'fgl': ['file.4gl', 'file.4gh', 'file.m4gl'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
169 \ 'focexec': ['file.fex', 'file.focexec'], |
14946
8ca1dc213836
patch 8.1.0484: some file types are not recognized
Bram Moolenaar <Bram@vim.org>
parents:
13182
diff
changeset
|
170 \ 'forth': ['file.fs', 'file.ft', 'file.fth'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
171 \ 'fortran': ['file.f', 'file.for', 'file.fortran', 'file.fpp', 'file.ftn', 'file.f77', 'file.f90', 'file.f95', 'file.f03', 'file.f08'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
172 \ 'framescript': ['file.fsl'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
173 \ 'freebasic': ['file.fb', 'file.bi'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
174 \ 'fstab': ['fstab', 'mtab'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
175 \ 'gdb': ['.gdbinit'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
176 \ 'gdmo': ['file.mo', 'file.gdmo'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
177 \ 'gedcom': ['file.ged', 'lltxxxxx.txt'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
178 \ 'gitcommit': ['COMMIT_EDITMSG', 'MERGE_MSG', 'TAG_EDITMSG'], |
14974
f8e6b4f82086
patch 8.1.0498: /etc/gitconfig not recognized at a gitconfig file
Bram Moolenaar <Bram@vim.org>
parents:
14946
diff
changeset
|
179 \ 'gitconfig': ['file.git/config', '.gitconfig', '.gitmodules', 'file.git/modules//config', '/.config/git/config', '/etc/gitconfig'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
180 \ 'gitolite': ['gitolite.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
181 \ 'gitrebase': ['git-rebase-todo'], |
12029
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
182 \ 'gitsendemail': ['.gitsendemail.msg.xxxxxx'], |
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
183 \ 'gkrellmrc': ['gkrellmrc', 'gkrellmrc_x'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
184 \ 'gnash': ['gnashrc', '.gnashrc', 'gnashpluginrc', '.gnashpluginrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
185 \ 'gnuplot': ['file.gpi'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
186 \ 'go': ['file.go'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
187 \ 'gp': ['file.gp', '.gprc'], |
12029
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
188 \ 'gpg': ['/.gnupg/options', '/.gnupg/gpg.conf', '/usr/any/gnupg/options.skel'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
189 \ 'grads': ['file.gs'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
190 \ 'gretl': ['file.gretl'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
191 \ 'groovy': ['file.gradle', 'file.groovy'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
192 \ 'group': ['any/etc/group', 'any/etc/group-', 'any/etc/group.edit', 'any/etc/gshadow', 'any/etc/gshadow-', 'any/etc/gshadow.edit', 'any/var/backups/group.bak', 'any/var/backups/gshadow.bak'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
193 \ 'grub': ['/boot/grub/menu.lst', '/boot/grub/grub.conf', '/etc/grub.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
194 \ 'gsp': ['file.gsp'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
195 \ 'gtkrc': ['.gtkrc', 'gtkrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
196 \ 'haml': ['file.haml'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
197 \ 'hamster': ['file.hsc', 'file.hsm'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
198 \ 'haskell': ['file.hs', 'file.hs-boot'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
199 \ 'haste': ['file.ht'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
200 \ 'hastepreproc': ['file.htpp'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
201 \ 'hb': ['file.hb'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
202 \ 'hercules': ['file.vc', 'file.ev', 'file.sum', 'file.errsum'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
203 \ 'hex': ['file.hex', 'file.h32'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
204 \ 'hgcommit': ['hg-editor-file.txt'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
205 \ 'hog': ['file.hog', 'snort.conf', 'vision.conf'], |
18362
8144f89e6f28
patch 8.1.2175: meson files are not recognized
Bram Moolenaar <Bram@vim.org>
parents:
17867
diff
changeset
|
206 \ 'hollywood': ['file.hws'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
207 \ 'hostconf': ['/etc/host.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
208 \ 'hostsaccess': ['/etc/hosts.allow', '/etc/hosts.deny'], |
16562
a6c073fa99e1
patch 8.1.1284: detecting *.tmpl as htmlcheetah is outdated
Bram Moolenaar <Bram@vim.org>
parents:
16364
diff
changeset
|
209 \ 'template': ['file.tmpl'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
210 \ 'htmlm4': ['file.html.m4'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
211 \ 'httest': ['file.htt', 'file.htb'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
212 \ 'ibasic': ['file.iba', 'file.ibi'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
213 \ 'icemenu': ['/.icewm/menu'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
214 \ 'icon': ['file.icn'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
215 \ 'indent': ['.indent.pro', 'indentrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
216 \ 'inform': ['file.inf', 'file.INF'], |
12029
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
217 \ 'initng': ['/etc/initng/any/file.i', 'file.ii'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
218 \ 'inittab': ['inittab'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
219 \ 'ipfilter': ['ipf.conf', 'ipf6.conf', 'ipf.rules'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
220 \ 'iss': ['file.iss'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
221 \ 'ist': ['file.ist', 'file.mst'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
222 \ 'j': ['file.ijs'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
223 \ 'jal': ['file.jal', 'file.JAL'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
224 \ 'jam': ['file.jpl', 'file.jpr'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
225 \ 'java': ['file.java', 'file.jav'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
226 \ 'javacc': ['file.jj', 'file.jjt'], |
18707
e190e64d253b
patch 8.1.2345: .cjs files are not recognized as Javascript
Bram Moolenaar <Bram@vim.org>
parents:
18489
diff
changeset
|
227 \ 'javascript': ['file.js', 'file.javascript', 'file.es', 'file.mjs', 'file.cjs'], |
17867
180fb9981255
patch 8.1.1930: cannot recognize .jsx and .tsx files
Bram Moolenaar <Bram@vim.org>
parents:
17555
diff
changeset
|
228 \ 'javascriptreact': ['file.jsx'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
229 \ 'jess': ['file.clp'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
230 \ 'jgraph': ['file.jgr'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
231 \ 'jovial': ['file.jov', 'file.j73', 'file.jovial'], |
12029
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
232 \ 'jproperties': ['file.properties', 'file.properties_xx', 'file.properties_xx_xx'], |
16364
db8f57e3e9f5
patch 8.1.1187: cannot recognize Pipfile
Bram Moolenaar <Bram@vim.org>
parents:
16344
diff
changeset
|
233 \ 'json': ['file.json', 'file.jsonp', 'file.webmanifest', 'Pipfile.lock'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
234 \ 'jsp': ['file.jsp'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
235 \ 'kconfig': ['Kconfig', 'Kconfig.debug'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
236 \ 'kivy': ['file.kv'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
237 \ 'kix': ['file.kix'], |
19263
06d9be5c0107
patch 8.2.0190: Kotlin files are not recognized
Bram Moolenaar <Bram@vim.org>
parents:
19205
diff
changeset
|
238 \ 'kotlin': ['file.kt', 'file.ktm', 'file.kts'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
239 \ 'kscript': ['file.ks'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
240 \ 'kwt': ['file.k'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
241 \ 'lace': ['file.ace', 'file.ACE'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
242 \ 'latte': ['file.latte', 'file.lte'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
243 \ 'ld': ['file.ld'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
244 \ 'ldif': ['file.ldif'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
245 \ 'less': ['file.less'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
246 \ 'lex': ['file.lex', 'file.l', 'file.lxx', 'file.l++'], |
12029
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
247 \ 'lftp': ['lftp.conf', '.lftprc', 'anylftp/rc'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
248 \ 'lhaskell': ['file.lhs'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
249 \ 'libao': ['/etc/libao.conf', '/.libao'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
250 \ 'lifelines': ['file.ll'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
251 \ 'lilo': ['lilo.conf'], |
12029
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
252 \ 'limits': ['/etc/limits', '/etc/anylimits.conf', '/etc/anylimits.d/file.conf'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
253 \ 'liquid': ['file.liquid'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
254 \ 'lisp': ['sbclrc', '.sbclrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
255 \ 'lite': ['file.lite', 'file.lt'], |
12029
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
256 \ 'litestep': ['/LiteStep/any/file.rc'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
257 \ 'loginaccess': ['/etc/login.access'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
258 \ 'logindefs': ['/etc/login.defs'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
259 \ 'logtalk': ['file.lgt'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
260 \ 'lotos': ['file.lot', 'file.lotos'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
261 \ 'lout': ['file.lou', 'file.lout'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
262 \ 'lprolog': ['file.sig'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
263 \ 'lsl': ['file.lsl'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
264 \ 'lss': ['file.lss'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
265 \ 'lua': ['file.lua', 'file.rockspec', 'file.nse'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
266 \ 'lynx': ['lynx.cfg'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
267 \ 'm4': ['file.at'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
268 \ 'mail': ['snd.123', '.letter', '.letter.123', '.followup', '.article', '.article.123', 'pico.123', 'mutt-xx-xxx', 'muttng-xx-xxx', 'ae123.txt', 'file.eml'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
269 \ 'mailaliases': ['/etc/mail/aliases', '/etc/aliases'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
270 \ 'mailcap': ['.mailcap', 'mailcap'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
271 \ 'make': ['file.mk', 'file.mak', 'file.dsp'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
272 \ 'mallard': ['file.page'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
273 \ 'man': ['file.man'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
274 \ 'manconf': ['/etc/man.conf', 'man.config'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
275 \ 'map': ['file.map'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
276 \ 'maple': ['file.mv', 'file.mpl', 'file.mws'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
277 \ 'markdown': ['file.markdown', 'file.mdown', 'file.mkd', 'file.mkdn', 'file.mdwn', 'file.md'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
278 \ 'mason': ['file.mason', 'file.mhtml', 'file.comp'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
279 \ 'master': ['file.mas', 'file.master'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
280 \ 'mel': ['file.mel'], |
18362
8144f89e6f28
patch 8.1.2175: meson files are not recognized
Bram Moolenaar <Bram@vim.org>
parents:
17867
diff
changeset
|
281 \ 'meson': ['meson.build', 'meson_options.txt'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
282 \ 'messages': ['/log/auth', '/log/cron', '/log/daemon', '/log/debug', '/log/kern', '/log/lpr', '/log/mail', '/log/messages', '/log/news/news', '/log/syslog', '/log/user', |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
283 \ '/log/auth.log', '/log/cron.log', '/log/daemon.log', '/log/debug.log', '/log/kern.log', '/log/lpr.log', '/log/mail.log', '/log/messages.log', '/log/news/news.log', '/log/syslog.log', '/log/user.log', |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
284 \ '/log/auth.err', '/log/cron.err', '/log/daemon.err', '/log/debug.err', '/log/kern.err', '/log/lpr.err', '/log/mail.err', '/log/messages.err', '/log/news/news.err', '/log/syslog.err', '/log/user.err', |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
285 \ '/log/auth.info', '/log/cron.info', '/log/daemon.info', '/log/debug.info', '/log/kern.info', '/log/lpr.info', '/log/mail.info', '/log/messages.info', '/log/news/news.info', '/log/syslog.info', '/log/user.info', |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
286 \ '/log/auth.warn', '/log/cron.warn', '/log/daemon.warn', '/log/debug.warn', '/log/kern.warn', '/log/lpr.warn', '/log/mail.warn', '/log/messages.warn', '/log/news/news.warn', '/log/syslog.warn', '/log/user.warn', |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
287 \ '/log/auth.crit', '/log/cron.crit', '/log/daemon.crit', '/log/debug.crit', '/log/kern.crit', '/log/lpr.crit', '/log/mail.crit', '/log/messages.crit', '/log/news/news.crit', '/log/syslog.crit', '/log/user.crit', |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
288 \ '/log/auth.notice', '/log/cron.notice', '/log/daemon.notice', '/log/debug.notice', '/log/kern.notice', '/log/lpr.notice', '/log/mail.notice', '/log/messages.notice', '/log/news/news.notice', '/log/syslog.notice', '/log/user.notice'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
289 \ 'mf': ['file.mf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
290 \ 'mgl': ['file.mgl'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
291 \ 'mgp': ['file.mgp'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
292 \ 'mib': ['file.mib', 'file.my'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
293 \ 'mix': ['file.mix', 'file.mixal'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
294 \ 'mma': ['file.nb'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
295 \ 'mmp': ['file.mmp'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
296 \ 'modconf': ['/etc/modules.conf', '/etc/modules', '/etc/conf.modules'], |
12029
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
297 \ 'modula2': ['file.m2', 'file.mi'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
298 \ 'monk': ['file.isc', 'file.monk', 'file.ssc', 'file.tsc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
299 \ 'moo': ['file.moo'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
300 \ 'mp': ['file.mp'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
301 \ 'mplayerconf': ['mplayer.conf', '/.mplayer/config'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
302 \ 'mrxvtrc': ['mrxvtrc', '.mrxvtrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
303 \ 'msidl': ['file.odl', 'file.mof'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
304 \ 'msql': ['file.msql'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
305 \ 'mupad': ['file.mu'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
306 \ 'mush': ['file.mush'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
307 \ 'muttrc': ['Muttngrc', 'Muttrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
308 \ 'mysql': ['file.mysql'], |
12052
7eb512f2a896
patch 8.0.0906: don't recognize Couchbase files
Christian Brabandt <cb@256bit.org>
parents:
12029
diff
changeset
|
309 \ 'n1ql': ['file.n1ql', 'file.nql'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
310 \ 'named': ['namedfile.conf', 'rndcfile.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
311 \ 'nanorc': ['/etc/nanorc', 'file.nanorc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
312 \ 'ncf': ['file.ncf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
313 \ 'netrc': ['.netrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
314 \ 'ninja': ['file.ninja'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
315 \ 'nqc': ['file.nqc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
316 \ 'nroff': ['file.tr', 'file.nr', 'file.roff', 'file.tmac', 'file.mom'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
317 \ 'nsis': ['file.nsi', 'file.nsh'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
318 \ 'obj': ['file.obj'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
319 \ 'ocaml': ['file.ml', 'file.mli', 'file.mll', 'file.mly', '.ocamlinit'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
320 \ 'occam': ['file.occ'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
321 \ 'omnimark': ['file.xom', 'file.xin'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
322 \ 'openroad': ['file.or'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
323 \ 'ora': ['file.ora'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
324 \ 'pamconf': ['/etc/pam.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
325 \ 'papp': ['file.papp', 'file.pxml', 'file.pxsl'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
326 \ 'pascal': ['file.pas', 'file.dpr'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
327 \ 'passwd': ['any/etc/passwd', 'any/etc/passwd-', 'any/etc/passwd.edit', 'any/etc/shadow', 'any/etc/shadow-', 'any/etc/shadow.edit', 'any/var/backups/passwd.bak', 'any/var/backups/shadow.bak'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
328 \ 'pccts': ['file.g'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
329 \ 'pdf': ['file.pdf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
330 \ 'perl': ['file.plx', 'file.al', 'file.psgi', 'gitolite.rc', '.gitolite.rc', 'example.gitolite.rc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
331 \ 'perl6': ['file.p6', 'file.pm6', 'file.pl6'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
332 \ 'pf': ['pf.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
333 \ 'pfmain': ['main.cf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
334 \ 'php': ['file.php', 'file.php9', 'file.phtml', 'file.ctp'], |
13128
41b7a660ed2a
patch 8.0.1438: filetype detection test not updated for change
Christian Brabandt <cb@256bit.org>
parents:
12688
diff
changeset
|
335 \ 'lpc': ['file.lpc', 'file.ulpc'], |
41b7a660ed2a
patch 8.0.1438: filetype detection test not updated for change
Christian Brabandt <cb@256bit.org>
parents:
12688
diff
changeset
|
336 \ 'pike': ['file.pike', 'file.pmod'], |
41b7a660ed2a
patch 8.0.1438: filetype detection test not updated for change
Christian Brabandt <cb@256bit.org>
parents:
12688
diff
changeset
|
337 \ 'cmod': ['file.cmod'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
338 \ 'pilrc': ['file.rcp'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
339 \ 'pine': ['.pinerc', 'pinerc', '.pinercex', 'pinercex'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
340 \ 'pinfo': ['/etc/pinforc', '/.pinforc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
341 \ 'pli': ['file.pli', 'file.pl1'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
342 \ 'plm': ['file.plm', 'file.p36', 'file.pac'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
343 \ 'plp': ['file.plp'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
344 \ 'plsql': ['file.pls', 'file.plsql'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
345 \ 'po': ['file.po', 'file.pot'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
346 \ 'pod': ['file.pod'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
347 \ 'pod6': ['file.pod6'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
348 \ 'postscr': ['file.ps', 'file.pfa', 'file.afm', 'file.eps', 'file.epsf', 'file.epsi', 'file.ai'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
349 \ 'pov': ['file.pov'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
350 \ 'povini': ['.povrayrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
351 \ 'ppd': ['file.ppd'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
352 \ 'ppwiz': ['file.it', 'file.ih'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
353 \ 'privoxy': ['file.action'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
354 \ 'proc': ['file.pc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
355 \ 'procmail': ['.procmail', '.procmailrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
356 \ 'prolog': ['file.pdb'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
357 \ 'promela': ['file.pml'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
358 \ 'proto': ['file.proto'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
359 \ 'protocols': ['/etc/protocols'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
360 \ 'psf': ['file.psf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
361 \ 'pyrex': ['file.pyx', 'file.pxd'], |
14946
8ca1dc213836
patch 8.1.0484: some file types are not recognized
Bram Moolenaar <Bram@vim.org>
parents:
13182
diff
changeset
|
362 \ 'python': ['file.py', 'file.pyw', '.pythonstartup', '.pythonrc', 'file.ptl', 'file.pyi'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
363 \ 'quake': ['anybaseq2/file.cfg', 'anyid1/file.cfg', 'quake3/file.cfg'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
364 \ 'radiance': ['file.rad', 'file.mat'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
365 \ 'ratpoison': ['.ratpoisonrc', 'ratpoisonrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
366 \ 'rc': ['file.rc', 'file.rch'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
367 \ 'rcs': ['file,v'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
368 \ 'readline': ['.inputrc', 'inputrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
369 \ 'remind': ['.reminders', 'file.remind', 'file.rem'], |
18926
50355c55519f
patch 8.2.0024: filetype Rego not recognized
Bram Moolenaar <Bram@vim.org>
parents:
18707
diff
changeset
|
370 \ 'rego': ['file.rego'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
371 \ 'resolv': ['resolv.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
372 \ 'reva': ['file.frt'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
373 \ 'rexx': ['file.rex', 'file.orx', 'file.rxo', 'file.rxj', 'file.jrexx', 'file.rexxj', 'file.rexx', 'file.testGroup', 'file.testUnit'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
374 \ 'rib': ['file.rib'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
375 \ 'rnc': ['file.rnc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
376 \ 'rng': ['file.rng'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
377 \ 'robots': ['robots.txt'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
378 \ 'rpcgen': ['file.x'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
379 \ 'rpl': ['file.rpl'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
380 \ 'rst': ['file.rst'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
381 \ 'rtf': ['file.rtf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
382 \ 'ruby': ['.irbrc', 'irbrc', 'file.rb', 'file.rbw', 'file.gemspec', 'file.ru', 'Gemfile', 'file.builder', 'file.rxml', 'file.rjs', 'file.rant', 'file.rake'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
383 \ 'rust': ['file.rs'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
384 \ 'samba': ['smb.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
385 \ 'sas': ['file.sas'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
386 \ 'sass': ['file.sass'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
387 \ 'sather': ['file.sa'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
388 \ 'sbt': ['file.sbt'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
389 \ 'scala': ['file.scala'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
390 \ 'scheme': ['file.scm', 'file.ss', 'file.rkt'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
391 \ 'scilab': ['file.sci', 'file.sce'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
392 \ 'screen': ['.screenrc', 'screenrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
393 \ 'scss': ['file.scss'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
394 \ 'sd': ['file.sd'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
395 \ 'sdc': ['file.sdc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
396 \ 'sdl': ['file.sdl', 'file.pr'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
397 \ 'sed': ['file.sed'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
398 \ 'sensors': ['/etc/sensors.conf', '/etc/sensors3.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
399 \ 'services': ['/etc/services'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
400 \ 'setserial': ['/etc/serial.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
401 \ 'sh': ['/etc/udev/cdsymlinks.conf'], |
14946
8ca1dc213836
patch 8.1.0484: some file types are not recognized
Bram Moolenaar <Bram@vim.org>
parents:
13182
diff
changeset
|
402 \ 'sieve': ['file.siv', 'file.sieve'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
403 \ 'simula': ['file.sim'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
404 \ 'sinda': ['file.sin', 'file.s85'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
405 \ 'sisu': ['file.sst', 'file.ssm', 'file.ssi', 'file.-sst', 'file._sst', 'file.sst.meta', 'file.-sst.meta', 'file._sst.meta'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
406 \ 'skill': ['file.il', 'file.ils', 'file.cdf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
407 \ 'slang': ['file.sl'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
408 \ 'slice': ['file.ice'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
409 \ 'slpconf': ['/etc/slp.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
410 \ 'slpreg': ['/etc/slp.reg'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
411 \ 'slpspi': ['/etc/slp.spi'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
412 \ 'slrnrc': ['.slrnrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
413 \ 'slrnsc': ['file.score'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
414 \ 'sm': ['sendmail.cf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
415 \ 'smarty': ['file.tpl'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
416 \ 'smcl': ['file.hlp', 'file.ihlp', 'file.smcl'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
417 \ 'smith': ['file.smt', 'file.smith'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
418 \ 'sml': ['file.sml'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
419 \ 'snobol4': ['file.sno', 'file.spt'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
420 \ 'spec': ['file.spec'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
421 \ 'spice': ['file.sp', 'file.spice'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
422 \ 'spup': ['file.speedup', 'file.spdata', 'file.spd'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
423 \ 'spyce': ['file.spy', 'file.spi'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
424 \ 'sql': ['file.tyb', 'file.typ', 'file.tyc', 'file.pkb', 'file.pks'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
425 \ 'sqlj': ['file.sqlj'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
426 \ 'sqr': ['file.sqr', 'file.sqi'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
427 \ 'squid': ['squid.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
428 \ 'srec': ['file.s19', 'file.s28', 'file.s37', 'file.mot', 'file.srec'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
429 \ 'sshconfig': ['ssh_config', '/.ssh/config'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
430 \ 'sshdconfig': ['sshd_config'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
431 \ 'st': ['file.st'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
432 \ 'stata': ['file.ado', 'file.do', 'file.imata', 'file.mata'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
433 \ 'stp': ['file.stp'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
434 \ 'sudoers': ['any/etc/sudoers', 'sudoers.tmp'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
435 \ 'svg': ['file.svg'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
436 \ 'svn': ['svn-commitfile.tmp'], |
19164
bfe90421e223
patch 8.2.0141: no swift filetype detection
Bram Moolenaar <Bram@vim.org>
parents:
18926
diff
changeset
|
437 \ 'swift': ['file.swift'], |
bfe90421e223
patch 8.2.0141: no swift filetype detection
Bram Moolenaar <Bram@vim.org>
parents:
18926
diff
changeset
|
438 \ 'swiftgyb': ['file.swift.gyb'], |
bfe90421e223
patch 8.2.0141: no swift filetype detection
Bram Moolenaar <Bram@vim.org>
parents:
18926
diff
changeset
|
439 \ 'sil': ['file.sil'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
440 \ 'sysctl': ['/etc/sysctl.conf', '/etc/sysctl.d/file.conf'], |
17528
62a6d99082f7
patch 8.1.1762: some filetype rules are in the wrong place
Bram Moolenaar <Bram@vim.org>
parents:
17526
diff
changeset
|
441 \ 'systemd': ['any/systemd/file.automount', 'any/systemd/file.mount', 'any/systemd/file.path', 'any/systemd/file.service', 'any/systemd/file.socket', 'any/systemd/file.swap', 'any/systemd/file.target', 'any/systemd/file.timer', '/etc/systemd/system/some.d/file.conf', '/etc/systemd/system/some.d/.#file'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
442 \ 'systemverilog': ['file.sv', 'file.svh'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
443 \ 'tags': ['tags'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
444 \ 'tak': ['file.tak'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
445 \ 'taskdata': ['pending.data', 'completed.data', 'undo.data'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
446 \ 'taskedit': ['file.task'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
447 \ 'tcl': ['file.tcl', 'file.tk', 'file.itcl', 'file.itk', 'file.jacl'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
448 \ 'teraterm': ['file.ttl'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
449 \ 'terminfo': ['file.ti'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
450 \ 'tex': ['file.latex', 'file.sty', 'file.dtx', 'file.ltx', 'file.bbl'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
451 \ 'texinfo': ['file.texinfo', 'file.texi', 'file.txi'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
452 \ 'texmf': ['texmf.cnf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
453 \ 'text': ['file.text', 'README'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
454 \ 'tf': ['file.tf', '.tfrc', 'tfrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
455 \ 'tidy': ['.tidyrc', 'tidyrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
456 \ 'tilde': ['file.t.html'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
457 \ 'tli': ['file.tli'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
458 \ 'tmux': ['tmuxfile.conf', '.tmuxfile.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
459 \ 'tpp': ['file.tpp'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
460 \ 'treetop': ['file.treetop'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
461 \ 'trustees': ['trustees.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
462 \ 'tsalt': ['file.slt'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
463 \ 'tsscl': ['file.tsscl'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
464 \ 'tssgm': ['file.tssgm'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
465 \ 'tssop': ['file.tssop'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
466 \ 'twig': ['file.twig'], |
16344
d24e5d848a09
patch 8.1.1177: .ts files are recognized as xml, typescript is more common
Bram Moolenaar <Bram@vim.org>
parents:
15097
diff
changeset
|
467 \ 'typescript': ['file.ts'], |
17867
180fb9981255
patch 8.1.1930: cannot recognize .jsx and .tsx files
Bram Moolenaar <Bram@vim.org>
parents:
17555
diff
changeset
|
468 \ 'typescriptreact': ['file.tsx'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
469 \ 'uc': ['file.uc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
470 \ 'udevconf': ['/etc/udev/udev.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
471 \ 'udevperm': ['/etc/udev/permissions.d/file.permissions'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
472 \ 'uil': ['file.uit', 'file.uil'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
473 \ 'updatedb': ['/etc/updatedb.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
474 \ 'upstart': ['/usr/share/upstart/file.conf', '/usr/share/upstart/file.override', '/etc/init/file.conf', '/etc/init/file.override', '/.init/file.conf', '/.init/file.override', '/.config/upstart/file.conf', '/.config/upstart/file.override'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
475 \ 'upstreamdat': ['upstream.dat', 'UPSTREAM.DAT', 'upstream.file.dat', 'UPSTREAM.FILE.DAT', 'file.upstream.dat', 'FILE.UPSTREAM.DAT'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
476 \ 'upstreaminstalllog': ['upstreaminstall.log', 'UPSTREAMINSTALL.LOG', 'upstreaminstall.file.log', 'UPSTREAMINSTALL.FILE.LOG', 'file.upstreaminstall.log', 'FILE.UPSTREAMINSTALL.LOG'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
477 \ 'upstreamlog': ['fdrupstream.log', 'upstream.log', 'UPSTREAM.LOG', 'upstream.file.log', 'UPSTREAM.FILE.LOG', 'file.upstream.log', 'FILE.UPSTREAM.LOG', 'UPSTREAM-file.log', 'UPSTREAM-FILE.LOG'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
478 \ 'usserverlog': ['usserver.log', 'USSERVER.LOG', 'usserver.file.log', 'USSERVER.FILE.LOG', 'file.usserver.log', 'FILE.USSERVER.LOG'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
479 \ 'usw2kagtlog': ['usw2kagt.log', 'USW2KAGT.LOG', 'usw2kagt.file.log', 'USW2KAGT.FILE.LOG', 'file.usw2kagt.log', 'FILE.USW2KAGT.LOG'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
480 \ 'vb': ['file.sba', 'file.vb', 'file.vbs', 'file.dsm', 'file.ctl'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
481 \ 'vera': ['file.vr', 'file.vri', 'file.vrh'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
482 \ 'verilog': ['file.v'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
483 \ 'verilogams': ['file.va', 'file.vams'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
484 \ 'vgrindefs': ['vgrindefs'], |
19717
de7c724bf803
patch 8.2.0415: bsdl filetype is not detected
Bram Moolenaar <Bram@vim.org>
parents:
19607
diff
changeset
|
485 \ 'vhdl': ['file.hdl', 'file.vhd', 'file.vhdl', 'file.vbe', 'file.vst', 'file.vhdl_123', 'file.vho'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
486 \ 'vim': ['file.vim', 'file.vba', '.exrc', '_exrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
487 \ 'viminfo': ['.viminfo', '_viminfo'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
488 \ 'vmasm': ['file.mar'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
489 \ 'voscm': ['file.cm'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
490 \ 'vrml': ['file.wrl'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
491 \ 'vroom': ['file.vroom'], |
17526
ae379e753465
patch 8.1.1761: filetype "vuejs" causes problems for some users
Bram Moolenaar <Bram@vim.org>
parents:
17188
diff
changeset
|
492 \ 'vue': ['file.vue'], |
14946
8ca1dc213836
patch 8.1.0484: some file types are not recognized
Bram Moolenaar <Bram@vim.org>
parents:
13182
diff
changeset
|
493 \ 'wast': ['file.wast', 'file.wat'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
494 \ 'webmacro': ['file.wm'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
495 \ 'wget': ['.wgetrc', 'wgetrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
496 \ 'winbatch': ['file.wbt'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
497 \ 'wml': ['file.wml'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
498 \ 'wsml': ['file.wsml'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
499 \ 'wvdial': ['wvdial.conf', '.wvdialrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
500 \ 'xdefaults': ['.Xdefaults', '.Xpdefaults', '.Xresources', 'xdm-config', 'file.ad'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
501 \ 'xhtml': ['file.xhtml', 'file.xht'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
502 \ 'xinetd': ['/etc/xinetd.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
503 \ 'xmath': ['file.msc', 'file.msf'], |
16344
d24e5d848a09
patch 8.1.1177: .ts files are recognized as xml, typescript is more common
Bram Moolenaar <Bram@vim.org>
parents:
15097
diff
changeset
|
504 \ 'xml': ['/etc/blkid.tab', '/etc/blkid.tab.old', 'file.xmi', 'file.csproj', 'file.csproj.user', 'file.ui', 'file.tpm', '/etc/xdg/menus/file.menu', 'fglrxrc', 'file.xlf', 'file.xliff', 'file.xul', 'file.wsdl'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
505 \ 'xmodmap': ['anyXmodmap'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
506 \ 'xf86conf': ['xorg.conf', 'xorg.conf-4'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
507 \ 'xpm2': ['file.xpm2'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
508 \ 'xquery': ['file.xq', 'file.xql', 'file.xqm', 'file.xquery', 'file.xqy'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
509 \ 'xs': ['file.xs'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
510 \ 'xsd': ['file.xsd'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
511 \ 'xslt': ['file.xsl', 'file.xslt'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
512 \ 'yacc': ['file.yy', 'file.yxx', 'file.y++'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
513 \ 'yaml': ['file.yaml', 'file.yml'], |
14991
ebabd6fe3833
patch 8.1.0507: .raml files not properly detected
Bram Moolenaar <Bram@vim.org>
parents:
14974
diff
changeset
|
514 \ 'raml': ['file.raml'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
515 \ 'z8a': ['file.z8a'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
516 \ 'zimbu': ['file.zu'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
517 \ 'zimbutempl': ['file.zut'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
518 \ 'zsh': ['.zprofile', '/etc/zprofile', '.zfbfmarks', 'file.zsh'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
519 \ |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
520 \ 'help': [$VIMRUNTIME . '/doc/help.txt'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
521 \ 'xpm': ['file.xpm'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
522 \ } |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
523 |
12029
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
524 let s:filename_case_checks = { |
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
525 \ 'modula2': ['file.DEF', 'file.MOD'], |
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
526 \ } |
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
527 |
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
528 func CheckItems(checks) |
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
529 for [ft, names] in items(a:checks) |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
530 for i in range(0, len(names) - 1) |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
531 new |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
532 try |
17528
62a6d99082f7
patch 8.1.1762: some filetype rules are in the wrong place
Bram Moolenaar <Bram@vim.org>
parents:
17526
diff
changeset
|
533 exe 'edit ' . fnameescape(names[i]) |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
534 catch |
17555
c2eb5118ba89
patch 8.1.1775: error message may be empty in filetype test
Bram Moolenaar <Bram@vim.org>
parents:
17528
diff
changeset
|
535 call assert_report('cannot edit "' . names[i] . '": ' . v:exception) |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
536 endtry |
16920
8d91579414b8
patch 8.1.1461: tests do not run or are not reliable on some systems
Bram Moolenaar <Bram@vim.org>
parents:
16562
diff
changeset
|
537 if &filetype == '' && &readonly |
8d91579414b8
patch 8.1.1461: tests do not run or are not reliable on some systems
Bram Moolenaar <Bram@vim.org>
parents:
16562
diff
changeset
|
538 " File exists but not able to edit it (permission denied) |
8d91579414b8
patch 8.1.1461: tests do not run or are not reliable on some systems
Bram Moolenaar <Bram@vim.org>
parents:
16562
diff
changeset
|
539 else |
8d91579414b8
patch 8.1.1461: tests do not run or are not reliable on some systems
Bram Moolenaar <Bram@vim.org>
parents:
16562
diff
changeset
|
540 call assert_equal(ft, &filetype, 'with file name: ' . names[i]) |
8d91579414b8
patch 8.1.1461: tests do not run or are not reliable on some systems
Bram Moolenaar <Bram@vim.org>
parents:
16562
diff
changeset
|
541 endif |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
542 bwipe! |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
543 endfor |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
544 endfor |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
545 endfunc |
12029
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
546 |
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
547 func Test_filetype_detection() |
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
548 filetype on |
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
549 call CheckItems(s:filename_checks) |
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
550 if has('fname_case') |
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
551 call CheckItems(s:filename_case_checks) |
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
552 endif |
12255
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
553 filetype off |
12029
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
554 endfunc |
12255
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
555 |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
556 " Filetypes detected from the file contents by scripts.vim |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
557 let s:script_checks = { |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
558 \ 'virata': [['% Virata'], |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
559 \ ['', '% Virata'], |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
560 \ ['', '', '% Virata'], |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
561 \ ['', '', '', '% Virata'], |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
562 \ ['', '', '', '', '% Virata']], |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
563 \ 'strace': [['execve("/usr/bin/pstree", ["pstree"], 0x7ff0 /* 63 vars */) = 0'], |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
564 \ ['15:17:47 execve("/usr/bin/pstree", ["pstree"], ... "_=/usr/bin/strace"]) = 0'], |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
565 \ ['__libc_start_main and something']], |
13168
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
566 \ 'clojure': [['#!/path/clojure']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
567 \ 'scala': [['#!/path/scala']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
568 \ 'tcsh': [['#!/path/tcsh']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
569 \ 'zsh': [['#!/path/zsh']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
570 \ 'tcl': [['#!/path/tclsh'], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
571 \ ['#!/path/wish'], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
572 \ ['#!/path/expectk'], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
573 \ ['#!/path/itclsh'], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
574 \ ['#!/path/itkwish']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
575 \ 'expect': [['#!/path/expect']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
576 \ 'gnuplot': [['#!/path/gnuplot']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
577 \ 'make': [['#!/path/make']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
578 \ 'pike': [['#!/path/pike'], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
579 \ ['#!/path/pike0'], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
580 \ ['#!/path/pike9']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
581 \ 'lua': [['#!/path/lua']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
582 \ 'perl6': [['#!/path/perl6']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
583 \ 'perl': [['#!/path/perl']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
584 \ 'php': [['#!/path/php']], |
13182
181ddaf5e467
patch 8.0.1465: python2 and python3 detection not tested
Christian Brabandt <cb@256bit.org>
parents:
13168
diff
changeset
|
585 \ 'python': [['#!/path/python'], |
181ddaf5e467
patch 8.0.1465: python2 and python3 detection not tested
Christian Brabandt <cb@256bit.org>
parents:
13168
diff
changeset
|
586 \ ['#!/path/python2'], |
181ddaf5e467
patch 8.0.1465: python2 and python3 detection not tested
Christian Brabandt <cb@256bit.org>
parents:
13168
diff
changeset
|
587 \ ['#!/path/python3']], |
13168
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
588 \ 'groovy': [['#!/path/groovy']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
589 \ 'ruby': [['#!/path/ruby']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
590 \ 'javascript': [['#!/path/node'], |
13182
181ddaf5e467
patch 8.0.1465: python2 and python3 detection not tested
Christian Brabandt <cb@256bit.org>
parents:
13168
diff
changeset
|
591 \ ['#!/path/js'], |
13168
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
592 \ ['#!/path/nodejs'], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
593 \ ['#!/path/rhino']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
594 \ 'bc': [['#!/path/bc']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
595 \ 'sed': [['#!/path/sed']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
596 \ 'ocaml': [['#!/path/ocaml']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
597 \ 'awk': [['#!/path/awk']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
598 \ 'wml': [['#!/path/wml']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
599 \ 'scheme': [['#!/path/scheme']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
600 \ 'cfengine': [['#!/path/cfengine']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
601 \ 'erlang': [['#!/path/escript']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
602 \ 'haskell': [['#!/path/haskell']], |
17188
93cb37b45636
patch 8.1.1593: filetype not detected for C++ header files without extension
Bram Moolenaar <Bram@vim.org>
parents:
16920
diff
changeset
|
603 \ 'cpp': [['// Standard iostream objects -*- C++ -*-'], |
93cb37b45636
patch 8.1.1593: filetype not detected for C++ header files without extension
Bram Moolenaar <Bram@vim.org>
parents:
16920
diff
changeset
|
604 \ ['// -*- C++ -*-']], |
19607
d24e6844aabd
patch 8.2.0360: yaml files are only recognized by the file extension
Bram Moolenaar <Bram@vim.org>
parents:
19471
diff
changeset
|
605 \ 'yaml': [['%YAML 1.2']], |
12255
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
606 \ } |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
607 |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
608 func Test_script_detection() |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
609 filetype on |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
610 for [ft, files] in items(s:script_checks) |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
611 for file in files |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
612 call writefile(file, 'Xtest') |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
613 split Xtest |
12688
a6a935b3270e
patch 8.0.1222: test functions interfere with each other
Christian Brabandt <cb@256bit.org>
parents:
12255
diff
changeset
|
614 call assert_equal(ft, &filetype, 'for text: ' . string(file)) |
12255
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
615 bwipe! |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
616 endfor |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
617 endfor |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
618 call delete('Xtest') |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
619 filetype off |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
620 endfunc |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
621 |
15097
1946487c74ba
patch 8.1.0559: command line completion not sufficiently tested
Bram Moolenaar <Bram@vim.org>
parents:
14991
diff
changeset
|
622 func Test_setfiletype_completion() |
1946487c74ba
patch 8.1.0559: command line completion not sufficiently tested
Bram Moolenaar <Bram@vim.org>
parents:
14991
diff
changeset
|
623 call feedkeys(":setfiletype java\<C-A>\<C-B>\"\<CR>", 'tx') |
17867
180fb9981255
patch 8.1.1930: cannot recognize .jsx and .tsx files
Bram Moolenaar <Bram@vim.org>
parents:
17555
diff
changeset
|
624 call assert_equal('"setfiletype java javacc javascript javascriptreact', @:) |
15097
1946487c74ba
patch 8.1.0559: command line completion not sufficiently tested
Bram Moolenaar <Bram@vim.org>
parents:
14991
diff
changeset
|
625 endfunc |
19425
67fbe280a502
patch 8.2.0270: some code not covered by tests
Bram Moolenaar <Bram@vim.org>
parents:
19263
diff
changeset
|
626 |
67fbe280a502
patch 8.2.0270: some code not covered by tests
Bram Moolenaar <Bram@vim.org>
parents:
19263
diff
changeset
|
627 " Test for ':filetype detect' command for a buffer without a file |
67fbe280a502
patch 8.2.0270: some code not covered by tests
Bram Moolenaar <Bram@vim.org>
parents:
19263
diff
changeset
|
628 func Test_emptybuf_ftdetect() |
67fbe280a502
patch 8.2.0270: some code not covered by tests
Bram Moolenaar <Bram@vim.org>
parents:
19263
diff
changeset
|
629 new |
67fbe280a502
patch 8.2.0270: some code not covered by tests
Bram Moolenaar <Bram@vim.org>
parents:
19263
diff
changeset
|
630 call setline(1, '#!/bin/sh') |
67fbe280a502
patch 8.2.0270: some code not covered by tests
Bram Moolenaar <Bram@vim.org>
parents:
19263
diff
changeset
|
631 call assert_equal('', &filetype) |
67fbe280a502
patch 8.2.0270: some code not covered by tests
Bram Moolenaar <Bram@vim.org>
parents:
19263
diff
changeset
|
632 filetype detect |
67fbe280a502
patch 8.2.0270: some code not covered by tests
Bram Moolenaar <Bram@vim.org>
parents:
19263
diff
changeset
|
633 call assert_equal('sh', &filetype) |
67fbe280a502
patch 8.2.0270: some code not covered by tests
Bram Moolenaar <Bram@vim.org>
parents:
19263
diff
changeset
|
634 close! |
67fbe280a502
patch 8.2.0270: some code not covered by tests
Bram Moolenaar <Bram@vim.org>
parents:
19263
diff
changeset
|
635 endfunc |
67fbe280a502
patch 8.2.0270: some code not covered by tests
Bram Moolenaar <Bram@vim.org>
parents:
19263
diff
changeset
|
636 |
67fbe280a502
patch 8.2.0270: some code not covered by tests
Bram Moolenaar <Bram@vim.org>
parents:
19263
diff
changeset
|
637 " Test for ':filetype indent on' and ':filetype indent off' commands |
67fbe280a502
patch 8.2.0270: some code not covered by tests
Bram Moolenaar <Bram@vim.org>
parents:
19263
diff
changeset
|
638 func Test_filetype_indent_off() |
67fbe280a502
patch 8.2.0270: some code not covered by tests
Bram Moolenaar <Bram@vim.org>
parents:
19263
diff
changeset
|
639 new Xtest.vim |
67fbe280a502
patch 8.2.0270: some code not covered by tests
Bram Moolenaar <Bram@vim.org>
parents:
19263
diff
changeset
|
640 filetype indent on |
67fbe280a502
patch 8.2.0270: some code not covered by tests
Bram Moolenaar <Bram@vim.org>
parents:
19263
diff
changeset
|
641 call assert_equal(1, g:did_indent_on) |
19471
cb73f4ae6b7c
patch 8.2.0293: various Ex commands not sufficiently tested
Bram Moolenaar <Bram@vim.org>
parents:
19425
diff
changeset
|
642 call assert_equal(['filetype detection:ON plugin:OFF indent:ON'], |
cb73f4ae6b7c
patch 8.2.0293: various Ex commands not sufficiently tested
Bram Moolenaar <Bram@vim.org>
parents:
19425
diff
changeset
|
643 \ execute('filetype')->split("\n")) |
19425
67fbe280a502
patch 8.2.0270: some code not covered by tests
Bram Moolenaar <Bram@vim.org>
parents:
19263
diff
changeset
|
644 filetype indent off |
67fbe280a502
patch 8.2.0270: some code not covered by tests
Bram Moolenaar <Bram@vim.org>
parents:
19263
diff
changeset
|
645 call assert_equal(0, exists('g:did_indent_on')) |
19471
cb73f4ae6b7c
patch 8.2.0293: various Ex commands not sufficiently tested
Bram Moolenaar <Bram@vim.org>
parents:
19425
diff
changeset
|
646 call assert_equal(['filetype detection:ON plugin:OFF indent:OFF'], |
cb73f4ae6b7c
patch 8.2.0293: various Ex commands not sufficiently tested
Bram Moolenaar <Bram@vim.org>
parents:
19425
diff
changeset
|
647 \ execute('filetype')->split("\n")) |
19425
67fbe280a502
patch 8.2.0270: some code not covered by tests
Bram Moolenaar <Bram@vim.org>
parents:
19263
diff
changeset
|
648 close |
67fbe280a502
patch 8.2.0270: some code not covered by tests
Bram Moolenaar <Bram@vim.org>
parents:
19263
diff
changeset
|
649 endfunc |
67fbe280a502
patch 8.2.0270: some code not covered by tests
Bram Moolenaar <Bram@vim.org>
parents:
19263
diff
changeset
|
650 |
67fbe280a502
patch 8.2.0270: some code not covered by tests
Bram Moolenaar <Bram@vim.org>
parents:
19263
diff
changeset
|
651 " vim: shiftwidth=2 sts=2 expandtab |