Mercurial > vim
annotate src/testdir/test_filetype.vim @ 15361:58b125df3e9b v8.1.0688
patch 8.1.0688: text properties are not restored by undo
commit https://github.com/vim/vim/commit/ccae4672fd622f2feac8322be71b6e43e68dc4fc
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 4 15:09:57 2019 +0100
patch 8.1.0688: text properties are not restored by undo
Problem: Text properties are not restored by undo.
Solution: Also save text properties for undo.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 04 Jan 2019 15:15:06 +0100 |
parents | 1946487c74ba |
children | d24e5d848a09 |
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 = { |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
47 \ '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
|
48 \ 'a65': ['file.a65'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
49 \ '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
|
50 \ '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
|
51 \ '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
|
52 \ '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
|
53 \ '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
|
54 \ '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
|
55 \ '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
|
56 \ '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
|
57 \ '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
|
58 \ 'ant': ['build.xml'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
59 \ 'apache': ['.htaccess', '/etc/httpd/file.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
60 \ '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
|
61 \ '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
|
62 \ '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
|
63 \ '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
|
64 \ '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
|
65 \ '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
|
66 \ '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
|
67 \ '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
|
68 \ '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
|
69 \ '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
|
70 \ '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
|
71 \ '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
|
72 \ '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
|
73 \ '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
|
74 \ '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
|
75 \ '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
|
76 \ '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
|
77 \ '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
|
78 \ 'blank': ['file.bl'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
79 \ '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
|
80 \ '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
|
81 \ '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
|
82 \ '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
|
83 \ 'calendar': ['calendar'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
84 \ 'catalog': ['catalog'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
85 \ '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
|
86 \ '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
|
87 \ '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
|
88 \ '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
|
89 \ '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
|
90 \ '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
|
91 \ '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
|
92 \ '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
|
93 \ '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
|
94 \ '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
|
95 \ '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
|
96 \ '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
|
97 \ '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
|
98 \ '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
|
99 \ '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
|
100 \ '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
|
101 \ '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
|
102 \ '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
|
103 \ '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
|
104 \ 'conf': ['auto.master'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
105 \ 'config': ['configure.in', 'configure.ac'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
106 \ '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
|
107 \ '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
|
108 \ '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
|
109 \ '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
|
110 \ '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
|
111 \ '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
|
112 \ '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
|
113 \ '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
|
114 \ '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
|
115 \ '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
|
116 \ '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
|
117 \ '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
|
118 \ '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
|
119 \ 'cvs': ['cvs123'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
120 \ 'cvsrc': ['.cvsrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
121 \ 'cynpp': ['file.cyn'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
122 \ '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
|
123 \ '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
|
124 \ '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
|
125 \ '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
|
126 \ '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
|
127 \ '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
|
128 \ '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
|
129 \ '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
|
130 \ '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
|
131 \ '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
|
132 \ '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
|
133 \ '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
|
134 \ 'dnsmasq': ['/etc/dnsmasq.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
135 \ 'dockerfile': ['Dockerfile', 'file.Dockerfile'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
136 \ '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
|
137 \ 'dosini': ['.editorconfig', '/etc/yum.conf', 'file.ini'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
138 \ 'dot': ['file.dot'], |
12029
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
139 \ '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
|
140 \ '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
|
141 \ '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
|
142 \ '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
|
143 \ '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
|
144 \ '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
|
145 \ '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
|
146 \ '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
|
147 \ '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
|
148 \ '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
|
149 \ '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
|
150 \ '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
|
151 \ '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
|
152 \ '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
|
153 \ '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
|
154 \ 'esterel': ['file.strl'], |
12029
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
155 \ '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
|
156 \ '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
|
157 \ '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
|
158 \ 'exports': ['exports'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
159 \ '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
|
160 \ '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
|
161 \ '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
|
162 \ 'fetchmail': ['.fetchmailrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
163 \ '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
|
164 \ '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
|
165 \ '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
|
166 \ '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
|
167 \ '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
|
168 \ '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
|
169 \ '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
|
170 \ 'gdb': ['.gdbinit'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
171 \ '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
|
172 \ '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
|
173 \ '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
|
174 \ '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
|
175 \ '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
|
176 \ '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
|
177 \ 'gitsendemail': ['.gitsendemail.msg.xxxxxx'], |
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
178 \ '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
|
179 \ '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
|
180 \ '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
|
181 \ '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
|
182 \ '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
|
183 \ '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
|
184 \ '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
|
185 \ '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
|
186 \ '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
|
187 \ '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
|
188 \ '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
|
189 \ '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
|
190 \ '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
|
191 \ '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
|
192 \ '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
|
193 \ '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
|
194 \ '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
|
195 \ '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
|
196 \ '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
|
197 \ '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
|
198 \ '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
|
199 \ '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
|
200 \ 'hog': ['file.hog', 'snort.conf', 'vision.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
201 \ '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
|
202 \ 'hostsaccess': ['/etc/hosts.allow', '/etc/hosts.deny'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
203 \ 'htmlcheetah': ['file.tmpl'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
204 \ '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
|
205 \ '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
|
206 \ '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
|
207 \ '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
|
208 \ '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
|
209 \ '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
|
210 \ '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
|
211 \ '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
|
212 \ 'inittab': ['inittab'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
213 \ '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
|
214 \ '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
|
215 \ '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
|
216 \ '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
|
217 \ '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
|
218 \ '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
|
219 \ '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
|
220 \ 'javacc': ['file.jj', 'file.jjt'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
221 \ 'javascript': ['file.js', 'file.javascript', 'file.es', 'file.jsx', 'file.mjs'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
222 \ '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
|
223 \ '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
|
224 \ '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
|
225 \ 'jproperties': ['file.properties', 'file.properties_xx', 'file.properties_xx_xx'], |
12027
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
226 \ 'json': ['file.json', 'file.jsonp', 'file.webmanifest'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
227 \ '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
|
228 \ '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
|
229 \ '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
|
230 \ 'kix': ['file.kix'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
231 \ '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
|
232 \ '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
|
233 \ '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
|
234 \ '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
|
235 \ '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
|
236 \ '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
|
237 \ '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
|
238 \ '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
|
239 \ '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
|
240 \ '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
|
241 \ '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
|
242 \ '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
|
243 \ 'lilo': ['lilo.conf'], |
12029
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
244 \ '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
|
245 \ '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
|
246 \ '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
|
247 \ '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
|
248 \ '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
|
249 \ '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
|
250 \ '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
|
251 \ '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
|
252 \ '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
|
253 \ '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
|
254 \ '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
|
255 \ '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
|
256 \ '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
|
257 \ '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
|
258 \ '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
|
259 \ '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
|
260 \ '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
|
261 \ '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
|
262 \ '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
|
263 \ '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
|
264 \ '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
|
265 \ '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
|
266 \ '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
|
267 \ '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
|
268 \ '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
|
269 \ '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
|
270 \ '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
|
271 \ '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
|
272 \ 'mel': ['file.mel'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
273 \ '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
|
274 \ '/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
|
275 \ '/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
|
276 \ '/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
|
277 \ '/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
|
278 \ '/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
|
279 \ '/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
|
280 \ '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
|
281 \ '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
|
282 \ '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
|
283 \ '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
|
284 \ '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
|
285 \ '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
|
286 \ '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
|
287 \ '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
|
288 \ '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
|
289 \ '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
|
290 \ '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
|
291 \ '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
|
292 \ '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
|
293 \ '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
|
294 \ '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
|
295 \ '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
|
296 \ '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
|
297 \ '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
|
298 \ '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
|
299 \ 'mysql': ['file.mysql'], |
12052
7eb512f2a896
patch 8.0.0906: don't recognize Couchbase files
Christian Brabandt <cb@256bit.org>
parents:
12029
diff
changeset
|
300 \ '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
|
301 \ '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
|
302 \ '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
|
303 \ '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
|
304 \ 'netrc': ['.netrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
305 \ '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
|
306 \ '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
|
307 \ '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
|
308 \ '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
|
309 \ '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
|
310 \ '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
|
311 \ '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
|
312 \ '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
|
313 \ '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
|
314 \ '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
|
315 \ '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
|
316 \ '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
|
317 \ '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
|
318 \ '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
|
319 \ '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
|
320 \ '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
|
321 \ '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
|
322 \ '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
|
323 \ '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
|
324 \ '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
|
325 \ '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
|
326 \ '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
|
327 \ '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
|
328 \ '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
|
329 \ '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
|
330 \ '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
|
331 \ '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
|
332 \ '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
|
333 \ '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
|
334 \ '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
|
335 \ '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
|
336 \ '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
|
337 \ '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
|
338 \ '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
|
339 \ '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
|
340 \ '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
|
341 \ 'povini': ['.povrayrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
342 \ '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
|
343 \ '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
|
344 \ '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
|
345 \ '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
|
346 \ '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
|
347 \ '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
|
348 \ '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
|
349 \ '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
|
350 \ '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
|
351 \ '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
|
352 \ '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
|
353 \ '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
|
354 \ '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
|
355 \ '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
|
356 \ '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
|
357 \ '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
|
358 \ '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
|
359 \ '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
|
360 \ 'remind': ['.reminders', 'file.remind', 'file.rem'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
361 \ '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
|
362 \ '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
|
363 \ '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
|
364 \ '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
|
365 \ '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
|
366 \ '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
|
367 \ '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
|
368 \ '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
|
369 \ '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
|
370 \ '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
|
371 \ '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
|
372 \ '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
|
373 \ '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
|
374 \ '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
|
375 \ '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
|
376 \ '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
|
377 \ '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
|
378 \ '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
|
379 \ '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
|
380 \ '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
|
381 \ '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
|
382 \ '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
|
383 \ '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
|
384 \ '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
|
385 \ '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
|
386 \ '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
|
387 \ '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
|
388 \ '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
|
389 \ '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
|
390 \ '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
|
391 \ '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
|
392 \ '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
|
393 \ '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
|
394 \ '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
|
395 \ '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
|
396 \ '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
|
397 \ '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
|
398 \ '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
|
399 \ '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
|
400 \ '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
|
401 \ '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
|
402 \ 'slrnrc': ['.slrnrc'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
403 \ '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
|
404 \ '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
|
405 \ '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
|
406 \ '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
|
407 \ '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
|
408 \ '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
|
409 \ '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
|
410 \ '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
|
411 \ '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
|
412 \ '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
|
413 \ '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
|
414 \ '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
|
415 \ '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
|
416 \ '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
|
417 \ '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
|
418 \ '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
|
419 \ '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
|
420 \ '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
|
421 \ '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
|
422 \ '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
|
423 \ '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
|
424 \ '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
|
425 \ '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
|
426 \ 'svn': ['svn-commitfile.tmp'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
427 \ 'sysctl': ['/etc/sysctl.conf', '/etc/sysctl.d/file.conf'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
428 \ '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'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
429 \ '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
|
430 \ 'tags': ['tags'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
431 \ '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
|
432 \ '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
|
433 \ '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
|
434 \ '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
|
435 \ '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
|
436 \ '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
|
437 \ '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
|
438 \ '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
|
439 \ '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
|
440 \ '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
|
441 \ '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
|
442 \ '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
|
443 \ '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
|
444 \ '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
|
445 \ '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
|
446 \ '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
|
447 \ '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
|
448 \ '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
|
449 \ '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
|
450 \ '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
|
451 \ '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
|
452 \ '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
|
453 \ 'twig': ['file.twig'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
454 \ '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
|
455 \ '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
|
456 \ '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
|
457 \ '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
|
458 \ '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
|
459 \ '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
|
460 \ '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
|
461 \ '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
|
462 \ '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
|
463 \ '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
|
464 \ '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
|
465 \ '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
|
466 \ '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
|
467 \ '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
|
468 \ '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
|
469 \ 'vgrindefs': ['vgrindefs'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
470 \ 'vhdl': ['file.hdl', 'file.vhd', 'file.vhdl', 'file.vbe', 'file.vst'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
471 \ '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
|
472 \ '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
|
473 \ '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
|
474 \ '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
|
475 \ '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
|
476 \ 'vroom': ['file.vroom'], |
14946
8ca1dc213836
patch 8.1.0484: some file types are not recognized
Bram Moolenaar <Bram@vim.org>
parents:
13182
diff
changeset
|
477 \ '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
|
478 \ '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
|
479 \ '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
|
480 \ '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
|
481 \ '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
|
482 \ '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
|
483 \ '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
|
484 \ '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
|
485 \ '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
|
486 \ '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
|
487 \ 'xmath': ['file.msc', 'file.msf'], |
14946
8ca1dc213836
patch 8.1.0484: some file types are not recognized
Bram Moolenaar <Bram@vim.org>
parents:
13182
diff
changeset
|
488 \ 'xml': ['/etc/blkid.tab', '/etc/blkid.tab.old', 'file.xmi', 'file.csproj', 'file.csproj.user', 'file.ts', '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
|
489 \ 'xmodmap': ['anyXmodmap'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
490 \ '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
|
491 \ '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
|
492 \ '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
|
493 \ '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
|
494 \ '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
|
495 \ '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
|
496 \ '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
|
497 \ '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
|
498 \ '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
|
499 \ '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
|
500 \ '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
|
501 \ '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
|
502 \ '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
|
503 \ |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
504 \ 'aap': ['file.aap'], |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
505 \ '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
|
506 \ '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
|
507 \ } |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
508 |
12029
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
509 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
|
510 \ '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
|
511 \ } |
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
512 |
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
513 func CheckItems(checks) |
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
514 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
|
515 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
|
516 new |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
517 try |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
518 exe 'edit ' . names[i] |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
519 catch |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
520 call assert_report('cannot edit "' . names[i] . '": ' . v:errmsg) |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
521 endtry |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
522 call assert_equal(ft, &filetype, 'with file name: ' . names[i]) |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
523 bwipe! |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
524 endfor |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
525 endfor |
c2aa4af29251
patch 8.0.0894: there is no test for runtime filetype detection
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
526 endfunc |
12029
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 Test_filetype_detection() |
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
529 filetype on |
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
530 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
|
531 if has('fname_case') |
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
532 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
|
533 endif |
12255
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
534 filetype off |
12029
a39e7e2ae7da
patch 8.0.0895: filetype test fails on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12027
diff
changeset
|
535 endfunc |
12255
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
536 |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
537 " 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
|
538 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
|
539 \ 'virata': [['% Virata'], |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
540 \ ['', '% Virata'], |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
541 \ ['', '', '% Virata'], |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
542 \ ['', '', '', '% Virata'], |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
543 \ ['', '', '', '', '% Virata']], |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
544 \ '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
|
545 \ ['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
|
546 \ ['__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
|
547 \ '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
|
548 \ '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
|
549 \ '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
|
550 \ '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
|
551 \ '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
|
552 \ ['#!/path/wish'], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
553 \ ['#!/path/expectk'], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
554 \ ['#!/path/itclsh'], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
555 \ ['#!/path/itkwish']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
556 \ '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
|
557 \ '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
|
558 \ '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
|
559 \ '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
|
560 \ ['#!/path/pike0'], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
561 \ ['#!/path/pike9']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
562 \ '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
|
563 \ '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
|
564 \ '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
|
565 \ 'php': [['#!/path/php']], |
13182
181ddaf5e467
patch 8.0.1465: python2 and python3 detection not tested
Christian Brabandt <cb@256bit.org>
parents:
13168
diff
changeset
|
566 \ 'python': [['#!/path/python'], |
181ddaf5e467
patch 8.0.1465: python2 and python3 detection not tested
Christian Brabandt <cb@256bit.org>
parents:
13168
diff
changeset
|
567 \ ['#!/path/python2'], |
181ddaf5e467
patch 8.0.1465: python2 and python3 detection not tested
Christian Brabandt <cb@256bit.org>
parents:
13168
diff
changeset
|
568 \ ['#!/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
|
569 \ '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
|
570 \ '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
|
571 \ 'javascript': [['#!/path/node'], |
13182
181ddaf5e467
patch 8.0.1465: python2 and python3 detection not tested
Christian Brabandt <cb@256bit.org>
parents:
13168
diff
changeset
|
572 \ ['#!/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
|
573 \ ['#!/path/nodejs'], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
574 \ ['#!/path/rhino']], |
9d638acf7cf7
patch 8.0.1458: filetype detection test does not check all scripts
Christian Brabandt <cb@256bit.org>
parents:
13128
diff
changeset
|
575 \ '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
|
576 \ '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
|
577 \ '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
|
578 \ '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
|
579 \ '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
|
580 \ '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
|
581 \ '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
|
582 \ '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
|
583 \ 'haskell': [['#!/path/haskell']], |
12255
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
584 \ } |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
585 |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
586 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
|
587 filetype on |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
588 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
|
589 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
|
590 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
|
591 split Xtest |
12688
a6a935b3270e
patch 8.0.1222: test functions interfere with each other
Christian Brabandt <cb@256bit.org>
parents:
12255
diff
changeset
|
592 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
|
593 bwipe! |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
594 endfor |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
595 endfor |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
596 call delete('Xtest') |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
597 filetype off |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
598 endfunc |
d5710baf5cf7
patch 8.0.1007: no test for filetype detection for scripts
Christian Brabandt <cb@256bit.org>
parents:
12052
diff
changeset
|
599 |
15097
1946487c74ba
patch 8.1.0559: command line completion not sufficiently tested
Bram Moolenaar <Bram@vim.org>
parents:
14991
diff
changeset
|
600 func Test_setfiletype_completion() |
1946487c74ba
patch 8.1.0559: command line completion not sufficiently tested
Bram Moolenaar <Bram@vim.org>
parents:
14991
diff
changeset
|
601 call feedkeys(":setfiletype java\<C-A>\<C-B>\"\<CR>", 'tx') |
1946487c74ba
patch 8.1.0559: command line completion not sufficiently tested
Bram Moolenaar <Bram@vim.org>
parents:
14991
diff
changeset
|
602 call assert_equal('"setfiletype java javacc javascript', @:) |
1946487c74ba
patch 8.1.0559: command line completion not sufficiently tested
Bram Moolenaar <Bram@vim.org>
parents:
14991
diff
changeset
|
603 endfunc |