tm-grammars 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +22 -0
- package/NOTICE +6565 -0
- package/README.md +211 -0
- package/grammars/abap.json +380 -0
- package/grammars/actionscript-3.json +951 -0
- package/grammars/ada.json +3874 -0
- package/grammars/apache.json +562 -0
- package/grammars/apex.json +3203 -0
- package/grammars/apl.json +1479 -0
- package/grammars/applescript.json +1406 -0
- package/grammars/ara.json +428 -0
- package/grammars/asm.json +1741 -0
- package/grammars/astro.json +776 -0
- package/grammars/awk.json +388 -0
- package/grammars/ballerina.json +3768 -0
- package/grammars/bat.json +783 -0
- package/grammars/beancount.json +831 -0
- package/grammars/berry.json +172 -0
- package/grammars/bibtex.json +315 -0
- package/grammars/bicep.json +239 -0
- package/grammars/blade.json +3870 -0
- package/grammars/c.json +3552 -0
- package/grammars/cadence.json +738 -0
- package/grammars/clarity.json +877 -0
- package/grammars/clojure.json +426 -0
- package/grammars/cmake.json +143 -0
- package/grammars/cobol.json +1124 -0
- package/grammars/codeql.json +1540 -0
- package/grammars/coffee.json +1311 -0
- package/grammars/cpp-macro.json +9498 -0
- package/grammars/cpp.json +16635 -0
- package/grammars/crystal.json +1866 -0
- package/grammars/csharp.json +5722 -0
- package/grammars/css.json +1860 -0
- package/grammars/csv.json +46 -0
- package/grammars/cue.json +1128 -0
- package/grammars/cypher.json +353 -0
- package/grammars/d.json +3185 -0
- package/grammars/dart.json +522 -0
- package/grammars/dax.json +185 -0
- package/grammars/diff.json +155 -0
- package/grammars/docker.json +97 -0
- package/grammars/dream-maker.json +640 -0
- package/grammars/elixir.json +1014 -0
- package/grammars/elm.json +751 -0
- package/grammars/erb.json +156 -0
- package/grammars/erlang.json +1757 -0
- package/grammars/fish.json +189 -0
- package/grammars/fsharp.json +1831 -0
- package/grammars/gdresource.json +290 -0
- package/grammars/gdscript.json +969 -0
- package/grammars/gdshader.json +405 -0
- package/grammars/gherkin.json +133 -0
- package/grammars/git-commit.json +85 -0
- package/grammars/git-rebase.json +56 -0
- package/grammars/glimmer-js.json +98 -0
- package/grammars/glimmer-ts.json +98 -0
- package/grammars/glsl.json +57 -0
- package/grammars/gnuplot.json +892 -0
- package/grammars/go.json +1012 -0
- package/grammars/graphql.json +1295 -0
- package/grammars/groovy.json +1378 -0
- package/grammars/hack.json +2650 -0
- package/grammars/haml.json +598 -0
- package/grammars/handlebars.json +848 -0
- package/grammars/haskell.json +2431 -0
- package/grammars/hcl.json +787 -0
- package/grammars/hjson.json +821 -0
- package/grammars/hlsl.json +212 -0
- package/grammars/html.json +93 -0
- package/grammars/imba.json +2696 -0
- package/grammars/ini.json +108 -0
- package/grammars/java.json +1885 -0
- package/grammars/javascript.json +5984 -0
- package/grammars/jinja-html.json +16 -0
- package/grammars/jinja.json +345 -0
- package/grammars/jison.json +715 -0
- package/grammars/jsdoc.json +21 -0
- package/grammars/json.json +208 -0
- package/grammars/json5.json +244 -0
- package/grammars/jsonc.json +208 -0
- package/grammars/jsonl.json +208 -0
- package/grammars/jsonnet.json +211 -0
- package/grammars/jssm.json +159 -0
- package/grammars/jsx.json +5984 -0
- package/grammars/julia.json +1061 -0
- package/grammars/kotlin.json +580 -0
- package/grammars/kusto.json +687 -0
- package/grammars/latex.json +2395 -0
- package/grammars/less.json +5012 -0
- package/grammars/liquid.json +990 -0
- package/grammars/lisp.json +121 -0
- package/grammars/logo.json +55 -0
- package/grammars/lua.json +956 -0
- package/grammars/make.json +629 -0
- package/grammars/markdown.json +3066 -0
- package/grammars/marko.json +1344 -0
- package/grammars/matlab.json +1131 -0
- package/grammars/mdc.json +571 -0
- package/grammars/mdx.json +5629 -0
- package/grammars/mermaid.json +1382 -0
- package/grammars/mojo.json +4153 -0
- package/grammars/narrat.json +227 -0
- package/grammars/nextflow.json +298 -0
- package/grammars/nginx.json +2121 -0
- package/grammars/nim.json +1522 -0
- package/grammars/nix.json +1200 -0
- package/grammars/nushell.json +1047 -0
- package/grammars/objective-c.json +3750 -0
- package/grammars/objective-cpp.json +7242 -0
- package/grammars/ocaml.json +2967 -0
- package/grammars/pascal.json +154 -0
- package/grammars/perl.json +2971 -0
- package/grammars/php.json +4024 -0
- package/grammars/plsql.json +241 -0
- package/grammars/postcss.json +377 -0
- package/grammars/powerquery.json +349 -0
- package/grammars/powershell.json +1024 -0
- package/grammars/prisma.json +443 -0
- package/grammars/prolog.json +298 -0
- package/grammars/proto.json +507 -0
- package/grammars/pug.json +1033 -0
- package/grammars/puppet.json +777 -0
- package/grammars/purescript.json +871 -0
- package/grammars/python.json +4208 -0
- package/grammars/r.json +637 -0
- package/grammars/raku.json +310 -0
- package/grammars/razor.json +1813 -0
- package/grammars/reg.json +136 -0
- package/grammars/rel.json +200 -0
- package/grammars/riscv.json +298 -0
- package/grammars/rst.json +734 -0
- package/grammars/ruby.json +2769 -0
- package/grammars/rust.json +1171 -0
- package/grammars/sas.json +302 -0
- package/grammars/sass.json +618 -0
- package/grammars/scala.json +1313 -0
- package/grammars/scheme.json +384 -0
- package/grammars/scss.json +1874 -0
- package/grammars/shaderlab.json +199 -0
- package/grammars/shellscript.json +2025 -0
- package/grammars/shellsession.json +33 -0
- package/grammars/smalltalk.json +235 -0
- package/grammars/solidity.json +1210 -0
- package/grammars/sparql.json +45 -0
- package/grammars/splunk.json +91 -0
- package/grammars/sql.json +631 -0
- package/grammars/ssh-config.json +88 -0
- package/grammars/stata.json +3050 -0
- package/grammars/stylus.json +1208 -0
- package/grammars/svelte.json +1171 -0
- package/grammars/swift.json +4203 -0
- package/grammars/system-verilog.json +1063 -0
- package/grammars/tasl.json +292 -0
- package/grammars/tcl.json +291 -0
- package/grammars/tex.json +281 -0
- package/grammars/toml.json +431 -0
- package/grammars/tsx.json +5984 -0
- package/grammars/turtle.json +261 -0
- package/grammars/twig.json +1394 -0
- package/grammars/typescript.json +5735 -0
- package/grammars/v.json +1001 -0
- package/grammars/vb.json +232 -0
- package/grammars/verilog.json +305 -0
- package/grammars/vhdl.json +1484 -0
- package/grammars/viml.json +445 -0
- package/grammars/vue-html.json +559 -0
- package/grammars/vue.json +1237 -0
- package/grammars/vyper.json +5415 -0
- package/grammars/wasm.json +831 -0
- package/grammars/wenyan.json +129 -0
- package/grammars/wgsl.json +391 -0
- package/grammars/wolfram.json +2370 -0
- package/grammars/xml.json +382 -0
- package/grammars/xsl.json +89 -0
- package/grammars/yaml.json +616 -0
- package/grammars/zenscript.json +257 -0
- package/grammars/zig.json +312 -0
- package/index.d.ts +18 -0
- package/index.js +2165 -0
- package/package.json +46 -0
|
@@ -0,0 +1,445 @@
|
|
|
1
|
+
{
|
|
2
|
+
"displayName": "Vim Script",
|
|
3
|
+
"name": "viml",
|
|
4
|
+
"patterns": [
|
|
5
|
+
{
|
|
6
|
+
"include": "#comment"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"include": "#constant"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"include": "#entity"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"include": "#keyword"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"include": "#punctuation"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"include": "#storage"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"include": "#strings"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"include": "#support"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"include": "#variable"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"include": "#syntax"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"include": "#commands"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"include": "#option"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"include": "#map"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"repository": {
|
|
46
|
+
"commands": {
|
|
47
|
+
"patterns": [
|
|
48
|
+
{
|
|
49
|
+
"match": "\\bcom(\\s|\\!)",
|
|
50
|
+
"name": "storage.other.command.viml"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"match": "\\bau(\\s|\\!)",
|
|
54
|
+
"name": "storage.other.command.viml"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"match": "-bang",
|
|
58
|
+
"name": "storage.other.command.bang.viml"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"match": "-nargs=[*+0-9]+",
|
|
62
|
+
"name": "storage.other.command.args.viml"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"match": "-complete=\\S+",
|
|
66
|
+
"name": "storage.other.command.completion.viml"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"begin": "(aug(roup)?)",
|
|
70
|
+
"end": "(augroup\\sEND|$)",
|
|
71
|
+
"name": "support.function.augroup.viml"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"comment": {
|
|
76
|
+
"patterns": [
|
|
77
|
+
{
|
|
78
|
+
"begin": "((\\s+)?\"\"\")",
|
|
79
|
+
"end": "^(?!\")",
|
|
80
|
+
"name": "comment.block.documentation.viml"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"match": "^\"\\svim:.*",
|
|
84
|
+
"name": "comment.block.modeline.viml"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"begin": "(\\s+\"\\s+)(?!\")",
|
|
88
|
+
"end": "$",
|
|
89
|
+
"name": "comment.line.viml",
|
|
90
|
+
"patterns": [
|
|
91
|
+
{
|
|
92
|
+
"match": "\\{\\{\\{\\d?$",
|
|
93
|
+
"name": "comment.line.foldmarker.viml"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"match": "\\}\\}\\}\\d?",
|
|
97
|
+
"name": "comment.line.foldmarker.viml"
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"begin": "^(\\s+)?\"",
|
|
103
|
+
"end": "$",
|
|
104
|
+
"name": "comment.line.viml",
|
|
105
|
+
"patterns": [
|
|
106
|
+
{
|
|
107
|
+
"match": "\\{\\{\\{\\d?$",
|
|
108
|
+
"name": "comment.line.foldmarker.viml"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"match": "\\}\\}\\}\\d?",
|
|
112
|
+
"name": "comment.line.foldmarker.viml"
|
|
113
|
+
}
|
|
114
|
+
]
|
|
115
|
+
}
|
|
116
|
+
]
|
|
117
|
+
},
|
|
118
|
+
"constant": {
|
|
119
|
+
"patterns": [
|
|
120
|
+
{
|
|
121
|
+
"match": "\\b(true|false)\\b",
|
|
122
|
+
"name": "constant.language.boolean.viml"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"match": "\\b([0-9]+)\\b",
|
|
126
|
+
"name": "constant.numeric.viml"
|
|
127
|
+
}
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
"entity": {
|
|
131
|
+
"patterns": [
|
|
132
|
+
{
|
|
133
|
+
"match": "(([absg]\\:)?[a-zA-Z0-9_#.]{2,})\\b(?=\\()",
|
|
134
|
+
"name": "entity.name.function.viml"
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
},
|
|
138
|
+
"keyword": {
|
|
139
|
+
"patterns": [
|
|
140
|
+
{
|
|
141
|
+
"match": "\\b(if|while|for|return|au(g|group)|else(if|)?|do|in)\\b",
|
|
142
|
+
"name": "keyword.control.viml"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"match": "\\b(end|endif|endfor|endwhile)\\s|$",
|
|
146
|
+
"name": "keyword.control.viml"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"match": "\\b(break|continue|try|catch|endtry|finally|finish|throw|range)\\b",
|
|
150
|
+
"name": "keyword.control.viml"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"match": "\\b(fun|func|function|endfunction|endfunc)\\b",
|
|
154
|
+
"name": "keyword.function.viml"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"match": "\\b(normal|silent)\\b",
|
|
158
|
+
"name": "keyword.other.viml"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"include": "#operators"
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
},
|
|
165
|
+
"map": {
|
|
166
|
+
"patterns": [
|
|
167
|
+
{
|
|
168
|
+
"begin": "(\\<)",
|
|
169
|
+
"beginCaptures": {
|
|
170
|
+
"1": {
|
|
171
|
+
"name": "punctuation.definition.map.viml"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"end": "(\\>|\\s)",
|
|
175
|
+
"endCaptures": {
|
|
176
|
+
"1": {
|
|
177
|
+
"name": "punctuation.definition.map.viml"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"patterns": [
|
|
181
|
+
{
|
|
182
|
+
"match": "(?<=:\\s)(.+)",
|
|
183
|
+
"name": "constant.character.map.rhs.viml"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"match": "(?i:(bang|buffer|expr|nop|plug|sid|silent))",
|
|
187
|
+
"name": "constant.character.map.special.viml"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"match": "(?i:([adcms]-\\w))",
|
|
191
|
+
"name": "constant.character.map.key.viml"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"match": "(?i:(F[0-9]+))",
|
|
195
|
+
"name": "constant.character.map.key.fn.viml"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"match": "(?i:(bs|bar|cr|del|down|esc|left|right|space|tab|up|leader))",
|
|
199
|
+
"name": "constant.character.map.viml"
|
|
200
|
+
}
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"match": "(\\b([cinostvx]?(nore)?map)\\b)",
|
|
205
|
+
"name": "storage.type.map.viml"
|
|
206
|
+
}
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
"operators": {
|
|
210
|
+
"patterns": [
|
|
211
|
+
{
|
|
212
|
+
"match": "([#+?!=~\\\\])",
|
|
213
|
+
"name": "keyword.operator.viml"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"match": " ([:\\-.]|[&|]{2})( |$)",
|
|
217
|
+
"name": "keyword.operator.viml"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"match": "([.]{3})",
|
|
221
|
+
"name": "keyword.operator.viml"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"match": "( [<>] )",
|
|
225
|
+
"name": "keyword.operator.viml"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"match": "(>=)",
|
|
229
|
+
"name": "keyword.operator.viml"
|
|
230
|
+
}
|
|
231
|
+
]
|
|
232
|
+
},
|
|
233
|
+
"option": {
|
|
234
|
+
"patterns": [
|
|
235
|
+
{
|
|
236
|
+
"match": "&?\\b(al|aleph|anti|antialias|arab|arabic|arshape|arabicshape|ari|allowrevins|akm|altkeymap|ambw|ambiwidth|acd|autochdir|ai|autoindent|ar|autoread|aw|autowrite|awa|autowriteall|bg|background|bs|backspace|bk|backup|bkc|backupcopy|bdir|backupdir|bex|backupext|bsk|backupskip|bdlay|balloondelay|beval|ballooneval|bevalterm|balloonevalterm|bexpr|balloonexpr|bo|belloff|bin|binary|bomb|brk|breakat|bri|breakindent|briopt|breakindentopt|bsdir|browsedir|bh|bufhidden|bl|buflisted|bt|buftype|cmp|casemap|cd|cdpath|cedit|ccv|charconvert|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|cb|clipboard|ch|cmdheight|cwh|cmdwinheight|cc|colorcolumn|co|columns|com|comments|cms|commentstring|cp|compatible|cpt|complete|cocu|concealcursor|cole|conceallevel|cfu|completefunc|cot|completeopt|cf|confirm|ci|copyindent|cpo|cpoptions|cm|cryptmethod|cspc|cscopepathcomp|csprg|cscopeprg|csqf|cscopequickfix|csre|cscoperelative|cst|cscopetag|csto|cscopetagorder|csverb|cscopeverbose|crb|cursorbind|cuc|cursorcolumn|cul|cursorline|debug|def|define|deco|delcombine|dict|dictionary|diff|dex|diffexpr|dip|diffopt|dg|digraph|dir|directory|dy|display|ead|eadirection|ed|edcompatible|emo|emoji|enc|encoding|eol|endofline|ea|equalalways|ep|equalprg|eb|errorbells|ef|errorfile|efm|errorformat|ek|esckeys|ei|eventignore|et|expandtab|ex|exrc|fenc|fileencoding|fencs|fileencodings|ff|fileformat|ffs|fileformats|fic|fileignorecase|ft|filetype|fcs|fillchars|fixeol|fixendofline|fk|fkmap|fcl|foldclose|fdc|foldcolumn|fen|foldenable|fde|foldexpr|fdi|foldignore|fdl|foldlevel|fdls|foldlevelstart|fmr|foldmarker|fdm|foldmethod|fml|foldminlines|fdn|foldnestmax|fdo|foldopen|fdt|foldtext|fex|formatexpr|fo|formatoptions|flp|formatlistpat|fp|formatprg|fs|fsync|gd|gdefault|gfm|grepformat|gp|grepprg|gcr|guicursor|gfn|guifont|gfs|guifontset|gfw|guifontwide|ghr|guiheadroom|go|guioptions|guipty|gtl|guitablabel|gtt|guitabtooltip|hf|helpfile|hh|helpheight|hlg|helplang|hid|hidden|hl|highlight|hi|history|hk|hkmap|hkp|hkmapp|hls|hlsearch|icon|iconstring|ic|ignorecase|imaf|imactivatefunc|imak|imactivatekey|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|imsf|imstatusfunc|imst|imstyle|inc|include|inex|includeexpr|is|incsearch|inde|indentexpr|indk|indentkeys|inf|infercase|im|insertmode|isf|isfname|isi|isident|isk|iskeyword|isp|isprint|js|joinspaces|key|kmp|keymap|km|keymodel|kp|keywordprg|lmap|langmap|lm|langmenu|lnr|langnoremap|lrm|langremap|ls|laststatus|lz|lazyredraw|lbr|linebreak|lines|lsp|linespace|lisp|lw|lispwords|list|lcs|listchars|lpl|loadplugins|luadll|macatsui|magic|mef|makeef|menc|makeencoding|mp|makeprg|mps|matchpairs|mat|matchtime|mco|maxcombine|mfd|maxfuncdepth|mmd|maxmapdepth|mm|maxmem|mmp|maxmempattern|mmt|maxmemtot|mis|menuitems|msm|mkspellmem|ml|modeline|mls|modelines|ma|modifiable|mod|modified|more|mouse|mousef|mousefocus|mh|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mzschemedll|mzschemegcdll|mzq|mzquantum|nf|nrformats|nu|number|nuw|numberwidth|ofu|omnifunc|odev|opendevice|opfunc|operatorfunc|pp|packpath|para|paragraphs|paste|pt|pastetoggle|pex|patchexpr|pm|patchmode|pa|path|perldll|pi|preserveindent|pvh|previewheight|pvw|previewwindow|pdev|printdevice|penc|printencoding|pexpr|printexpr|pfn|printfont|pheader|printheader|pmbcs|printmbcharset|pmbfn|printmbfont|popt|printoptions|prompt|ph|pumheight|pythonthreedll|pythondll|pyx|pyxversion|qe|quoteescape|ro|readonly|rdt|redrawtime|re|regexpengine|rnu|relativenumber|remap|rop|renderoptions|report|rs|restorescreen|ri|revins|rl|rightleft|rlc|rightleftcmd|rubydll|ru|ruler|ruf|rulerformat|rtp|runtimepath|scr|scroll|scb|scrollbind|sj|scrolljump|so|scrolloff|sbo|scrollopt|sect|sections|secure|sel|selection|slm|selectmode|ssop|sessionoptions|sh|shell|shcf|shellcmdflag|sp|shellpipe|shq|shellquote|srr|shellredir|ssl|shellslash|stmp|shelltemp|st|shelltype|sxq|shellxquote|sxe|shellxescape|sr|shiftround|sw|shiftwidth|shm|shortmess|sn|shortname|sbr|showbreak|sc|showcmd|sft|showfulltag|sm|showmatch|smd|showmode|stal|showtabline|ss|sidescroll|siso|sidescrolloff|scl|signcolumn|scs|smartcase|si|smartindent|sta|smarttab|sts|softtabstop|spell|spc|spellcapcheck|spf|spellfile|spl|spelllang|sps|spellsuggest|sb|splitbelow|spr|splitright|sol|startofline|stl|statusline|su|suffixes|sua|suffixesadd|swf|swapfile|sws|swapsync|swb|switchbuf|smc|synmaxcol|syn|syntax|tal|tabline|tpm|tabpagemax|ts|tabstop|tbs|tagbsearch|tc|tagcase|tl|taglength|tr|tagrelative|tag|tags|tgst|tagstack|tcldll|term|tbidi|termbidi|tenc|termencoding|tgc|termguicolors|tk|termkey|tms|termsize|terse|ta|textauto|tx|textmode|tw|textwidth|tsr|thesaurus|top|tildeop|to|timeout|tm|timeoutlen|title|titlelen|titleold|titlestring|tb|toolbar|tbis|toolbariconsize|ttimeout|ttm|ttimeoutlen|tbi|ttybuiltin|tf|ttyfast|ttym|ttymouse|tsl|ttyscroll|tty|ttytype|udir|undodir|udf|undofile|ul|undolevels|ur|undoreload|uc|updatecount|ut|updatetime|vbs|verbose|vfile|verbosefile|vdir|viewdir|vop|viewoptions|vi|viminfo|vif|viminfofile|ve|virtualedit|vb|visualbell|warn|wiv|weirdinvert|ww|whichwrap|wc|wildchar|wcm|wildcharm|wig|wildignore|wic|wildignorecase|wmnu|wildmenu|wim|wildmode|wop|wildoptions|wak|winaltkeys|wi|window|wh|winheight|wfh|winfixheight|wfw|winfixwidth|wmh|winminheight|wmw|winminwidth|winptydll|wiw|winwidth|wrap|wm|wrapmargin|ws|wrapscan|write|wa|writeany|wb|writebackup|wd|writedelay)\\b",
|
|
237
|
+
"name": "support.type.option.viml"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"match": "&?\\b(aleph|allowrevins|altkeymap|ambiwidth|autochdir|arabic|arabicshape|autoindent|autoread|autowrite|autowriteall|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|belloff|binary|bomb|breakat|breakindent|breakindentopt|browsedir|bufhidden|buflisted|buftype|casemap|cdpath|cedit|charconvert|cindent|cinkeys|cinoptions|cinwords|clipboard|cmdheight|cmdwinheight|colorcolumn|columns|comments|commentstring|complete|completefunc|completeopt|concealcursor|conceallevel|confirm|copyindent|cpoptions|cscopepathcomp|cscopeprg|cscopequickfix|cscoperelative|cscopetag|cscopetagorder|cscopeverbose|cursorbind|cursorcolumn|cursorline|debug|define|delcombine|dictionary|diff|diffexpr|diffopt|digraph|directory|display|eadirection|encoding|endofline|equalalways|equalprg|errorbells|errorfile|errorformat|eventignore|expandtab|exrc|fileencoding|fileencodings|fileformat|fileformats|fileignorecase|filetype|fillchars|fixendofline|fkmap|foldclose|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldopen|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fsync|gdefault|grepformat|grepprg|guicursor|guifont|guifontset|guifontwide|guioptions|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hidden|hlsearch|history|hkmap|hkmapp|icon|iconstring|ignorecase|imcmdline|imdisable|iminsert|imsearch|include|includeexpr|incsearch|indentexpr|indentkeys|infercase|insertmode|isfname|isident|iskeyword|isprint|joinspaces|keymap|keymodel|keywordprg|langmap|langmenu|langremap|laststatus|lazyredraw|linebreak|lines|linespace|lisp|lispwords|list|listchars|loadplugins|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|menuitems|mkspellmem|modeline|modelines|modifiable|modified|more|mouse|mousefocus|mousehide|mousemodel|mouseshape|mousetime|nrformats|number|numberwidth|omnifunc|opendevice|operatorfunc|packpath|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|perldll|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pumheight|pythondll|pythonthreedll|quoteescape|readonly|redrawtime|regexpengine|relativenumber|remap|report|revins|rightleft|rightleftcmd|rubydll|ruler|rulerformat|runtimepath|scroll|scrollbind|scrolljump|scrolloff|scrollopt|sections|secure|selection|selectmode|sessionoptions|shada|shell|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shellxescape|shellxquote|shiftround|shiftwidth|shortmess|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|sidescroll|sidescrolloff|signcolumn|smartcase|smartindent|smarttab|softtabstop|spell|spellcapcheck|spellfile|spelllang|spellsuggest|splitbelow|splitright|startofline|statusline|suffixes|suffixesadd|swapfile|switchbuf|synmaxcol|syntax|tabline|tabpagemax|tabstop|tagbsearch|tagcase|taglength|tagrelative|tags|tagstack|term|termbidi|terse|textwidth|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|ttimeout|ttimeoutlen|ttytype|undodir|undofile|undolevels|undoreload|updatecount|updatetime|verbose|verbosefile|viewdir|viewoptions|virtualedit|visualbell|warn|whichwrap|wildchar|wildcharm|wildignore|wildignorecase|wildmenu|wildmode|wildoptions|winaltkeys|window|winheight|winfixheight|winfixwidth|winminheight|winminwidth|winwidth|wrap|wrapmargin|wrapscan|write|writeany|writebackup|writedelay)\\b",
|
|
241
|
+
"name": "support.type.option.viml"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"match": "&?\\b(al|ari|akm|ambw|acd|arab|arshape|ai|ar|aw|awa|bg|bs|bk|bkc|bdir|bex|bsk|bdlay|beval|bexpr|bo|bin|bomb|brk|bri|briopt|bsdir|bh|bl|bt|cmp|cd|cedit|ccv|cin|cink|cino|cinw|cb|ch|cwh|cc|co|com|cms|cpt|cfu|cot|cocu|cole|cf|ci|cpo|cspc|csprg|csqf|csre|cst|csto|cpo|crb|cuc|cul|debug|def|deco|dict|diff|dex|dip|dg|dir|dy|ead|enc|eol|ea|ep|eb|ef|efm|ei|et|ex|fenc|fencs|ff|ffs|fic|ft|fcs|fixeol|fk|fcl|fdc|fen|fde|fdi|fdl|fdls|fmr|fdm|fml|fdn|fdo|fdt|fex|flp|fo|fp|fs|gd|gfm|gp|gcr|gfn|gfs|gfw|go|gtl|gtt|hf|hh|hlg|hid|hls|hi|hk|hkp|icon|iconstring|ic|imc|imd|imi|ims|inc|inex|is|inde|indk|inf|im|isf|isi|isk|isp|js|kmp|km|kp|lmap|lm|lrm|ls|lz|lbr|lines|lsp|lisp|lw|list|lcs|lpl|magic|mef|mp|mps|mat|mco|mfd|mmd|mm|mmp|mmt|mis|msm|ml|mls|ma|mod|more|mouse|mousef|mh|mousem|mouses|mouset|nf|nu|nuw|ofu|odev|opfunc|pp|para|paste|pt|pex|pm|pa|perldll|pi|pvh|pvw|pdev|penc|pexpr|pfn|pheader|pmbcs|pmbfn|popt|prompt|ph|pythondll|pythonthreedlll|qe|ro|rdt|re|rnu|remap|report|ri|rl|rlc|rubydll|ru|ruf|rtp|scr|scb|sj|so|sbo|sect|secure|sel|slm|ssop|sd|sh|shcf|sp|shq|srr|ssl|stmp|sxe|sxq|sr|sw|shm|sbr|sc|sft|sm|smd|stal|ss|siso|scl|scs|si|sta|sts|spell|spc|spf|spl|sps|sb|spr|sol|stl|su|sua|swf|swb|smc|syn|tal|tpm|ts|tbs|tc|tl|tr|tag|tgst|term|tbidi|terse|tw|tsr|top|to|tm|title|titlelen|titleold|titlestring|ttimeout|ttm|tty|udir|udf|ul|ur|uc|ut|vbs|vfile|vdir|vop|ve|vb|warn|ww|wc|wcm|wig|wic|wmnu|wim|wop|wak|wi|wh|wfh|wfw|wmh|wmw|wiw|wrap|wm|ws|write|wa|wb|wd)\\b",
|
|
245
|
+
"name": "support.type.option.shortname.viml"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"match": "\\b(noanti|noantialias|noarab|noarabic|noarshape|noarabicshape|noari|noallowrevins|noakm|noaltkeymap|noacd|noautochdir|noai|noautoindent|noar|noautoread|noaw|noautowrite|noawa|noautowriteall|nobk|nobackup|nobeval|noballooneval|nobevalterm|noballoonevalterm|nobin|nobinary|nobomb|nobri|nobreakindent|nobl|nobuflisted|nocin|nocindent|nocp|nocompatible|nocf|noconfirm|noci|nocopyindent|nocsre|nocscoperelative|nocst|nocscopetag|nocsverb|nocscopeverbose|nocrb|nocursorbind|nocuc|nocursorcolumn|nocul|nocursorline|nodeco|nodelcombine|nodiff|nodg|nodigraph|noed|noedcompatible|noemo|noemoji|noeol|noendofline|noea|noequalalways|noeb|noerrorbells|noek|noesckeys|noet|noexpandtab|noex|noexrc|nofic|nofileignorecase|nofixeol|nofixendofline|nofk|nofkmap|nofen|nofoldenable|nofs|nofsync|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkp|nohkmapp|nohls|nohlsearch|noicon|noic|noignorecase|noimc|noimcmdline|noimd|noimdisable|nois|noincsearch|noinf|noinfercase|noim|noinsertmode|nojs|nojoinspaces|nolnr|nolangnoremap|nolrm|nolangremap|nolz|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|nolpl|noloadplugins|nomacatsui|nomagic|noml|nomodeline|noma|nomodifiable|nomod|nomodified|nomore|nomousef|nomousefocus|nomh|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopvw|nopreviewwindow|noprompt|noro|noreadonly|nornu|norelativenumber|nors|norestorescreen|nori|norevins|norl|norightleft|noru|noruler|noscb|noscrollbind|nosecure|nossl|noshellslash|nostmp|noshelltemp|nosr|noshiftround|nosn|noshortname|nosc|noshowcmd|nosft|noshowfulltag|nosm|noshowmatch|nosmd|noshowmode|noscs|nosmartcase|nosi|nosmartindent|nosta|nosmarttab|nospell|nosb|nosplitbelow|nospr|nosplitright|nosol|nostartofline|noswf|noswapfile|notbs|notagbsearch|notr|notagrelative|notgst|notagstack|notbidi|notermbidi|notgc|notermguicolors|noterse|nota|notextauto|notx|notextmode|notop|notildeop|noto|notimeout|notitle|nottimeout|notbi|nottybuiltin|notf|nottyfast|noudf|noundofile|novb|novisualbell|nowarn|nowiv|noweirdinvert|nowic|nowildignorecase|nowmnu|nowildmenu|nowfh|nowinfixheight|nowfw|nowinfixwidth|nowrapscan|nowrap|nows|nowrite|nowa|nowriteany|nowb|nowritebackup)\\b",
|
|
249
|
+
"name": "support.type.option.off.viml"
|
|
250
|
+
}
|
|
251
|
+
]
|
|
252
|
+
},
|
|
253
|
+
"punctuation": {
|
|
254
|
+
"patterns": [
|
|
255
|
+
{
|
|
256
|
+
"match": "([()])",
|
|
257
|
+
"name": "punctuation.parens.viml"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"match": "([,])",
|
|
261
|
+
"name": "punctuation.comma.viml"
|
|
262
|
+
}
|
|
263
|
+
]
|
|
264
|
+
},
|
|
265
|
+
"storage": {
|
|
266
|
+
"patterns": [
|
|
267
|
+
{
|
|
268
|
+
"match": "\\b(call|let|unlet)\\b",
|
|
269
|
+
"name": "storage.viml"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"match": "\\b(abort|autocmd)\\b",
|
|
273
|
+
"name": "storage.viml"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"match": "\\b(set(l|local)?)\\b",
|
|
277
|
+
"name": "storage.viml"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"match": "\\b(com(mand)?)\\b",
|
|
281
|
+
"name": "storage.viml"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"match": "\\b(color(scheme)?)\\b",
|
|
285
|
+
"name": "storage.viml"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"match": "\\b(Plug|Plugin)\\b",
|
|
289
|
+
"name": "storage.plugin.viml"
|
|
290
|
+
}
|
|
291
|
+
]
|
|
292
|
+
},
|
|
293
|
+
"strings": {
|
|
294
|
+
"patterns": [
|
|
295
|
+
{
|
|
296
|
+
"begin": "\"",
|
|
297
|
+
"end": "(\"|$)",
|
|
298
|
+
"name": "string.quoted.double.viml",
|
|
299
|
+
"patterns": [
|
|
300
|
+
]
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"begin": "'",
|
|
304
|
+
"end": "('|$)",
|
|
305
|
+
"name": "string.quoted.single.viml",
|
|
306
|
+
"patterns": [
|
|
307
|
+
]
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"match": "/(\\\\\\\\|\\\\/|[^\\n/])*/",
|
|
311
|
+
"name": "string.regexp.viml"
|
|
312
|
+
}
|
|
313
|
+
]
|
|
314
|
+
},
|
|
315
|
+
"support": {
|
|
316
|
+
"patterns": [
|
|
317
|
+
{
|
|
318
|
+
"match": "(add|call|delete|empty|extend|get|has|isdirectory|join|printf)(?=\\()",
|
|
319
|
+
"name": "support.function.viml"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"match": "\\b(echo(m|hl)?|exe(cute)?|redir|redraw|sleep|so(urce)?|wincmd|setf)\\b",
|
|
323
|
+
"name": "support.function.viml"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"match": "(v\\:(beval_col|beval_bufnr|beval_lnum|beval_text|beval_winnr|char|charconvert_from|charconvert_to|cmdarg|cmdbang|count|count1|ctype|dying|errmsg|exception|fcs_reason|fcs_choice|fname_in|fname_out|fname_new|fname_diff|folddashes|foldlevel|foldend|foldstart|insertmode|key|lang|lc_time|lnum|mouse_win|mouse_lnum|mouse_col|oldfiles|operator|prevcount|profiling|progname|register|scrollstart|servername|searchforward|shell_error|statusmsg|swapname|swapchoice|swapcommand|termresponse|this_session|throwpoint|val|version|warningmsg|windowid))",
|
|
327
|
+
"name": "support.type.builtin.vim-variable.viml"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"match": "(&(cpo|isk|omnifunc|paste|previewwindow|rtp|tags|term|wrap))",
|
|
331
|
+
"name": "support.type.builtin.viml"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"match": "(&(shell(cmdflag|redir)?))",
|
|
335
|
+
"name": "support.type.builtin.viml"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"match": "\\<args\\>",
|
|
339
|
+
"name": "support.variable.args.viml"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"match": "\\b(None|ErrorMsg|WarningMsg)\\b",
|
|
343
|
+
"name": "support.type.syntax.viml"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"match": "\\b(BufNewFile|BufReadPre|BufRead|BufReadPost|BufReadCmd|FileReadPre|FileReadPost|FileReadCmd|FilterReadPre|FilterReadPost|StdinReadPre|StdinReadPost|BufWrite|BufWritePre|BufWritePost|BufWriteCmd|FileWritePre|FileWritePost|FileWriteCmd|FileAppendPre|FileAppendPost|FileAppendCmd|FilterWritePre|FilterWritePost|BufAdd|BufCreate|BufDelete|BufWipeout|BufFilePre|BufFilePost|BufEnter|BufLeave|BufWinEnter|BufWinLeave|BufUnload|BufHidden|BufNew|SwapExists|TermOpen|TermClose|FileType|Syntax|OptionSet|VimEnter|GUIEnter|GUIFailed|TermResponse|QuitPre|VimLeavePre|VimLeave|DirChanged|FileChangedShell|FileChangedShellPost|FileChangedRO|ShellCmdPost|ShellFilterPost|CmdUndefined|FuncUndefined|SpellFileMissing|SourcePre|SourceCmd|VimResized|FocusGained|FocusLost|CursorHold|CursorHoldI|CursorMoved|CursorMovedI|WinNew|WinEnter|WinLeave|TabEnter|TabLeave|TabNew|TabNewEntered|TabClosed|CmdlineEnter|CmdlineLeave|CmdwinEnter|CmdwinLeave|InsertEnter|InsertChange|InsertLeave|InsertCharPre|TextYankPost|TextChanged|TextChangedI|ColorScheme|RemoteReply|QuickFixCmdPre|QuickFixCmdPost|SessionLoadPost|MenuPopup|CompleteDone|User)\\b",
|
|
347
|
+
"name": "support.type.event.viml"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"match": "\\b(Comment|Constant|String|Character|Number|Boolean|Float|Identifier|Function|Statement|Conditional|Repeat|Label|Operator|Keyword|Exception|PreProc|Include|Define|Macro|PreCondit|Type|StorageClass|Structure|Typedef|Special|SpecialChar|Tag|Delimiter|SpecialComment|Debug|Underlined|Ignore|Error|Todo)\\b",
|
|
351
|
+
"name": "support.type.syntax-group.viml"
|
|
352
|
+
}
|
|
353
|
+
]
|
|
354
|
+
},
|
|
355
|
+
"syntax": {
|
|
356
|
+
"patterns": [
|
|
357
|
+
{
|
|
358
|
+
"match": "syn(tax)? case (ignore|match)",
|
|
359
|
+
"name": "keyword.control.syntax.viml"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"match": "syn(tax)? (clear|enable|include|off|on|manual|sync)",
|
|
363
|
+
"name": "keyword.control.syntax.viml"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"match": "\\b(contained|display|excludenl|fold|keepend|oneline|skipnl|skipwhite|transparent)\\b",
|
|
367
|
+
"name": "keyword.other.syntax.viml"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"match": "\\b(add|containedin|contains|matchgroup|nextgroup)\\=",
|
|
371
|
+
"name": "keyword.other.syntax.viml"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"captures": {
|
|
375
|
+
"1": {
|
|
376
|
+
"name": "keyword.other.syntax-range.viml"
|
|
377
|
+
},
|
|
378
|
+
"3": {
|
|
379
|
+
"name": "string.regexp.viml"
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
"match": "((start|skip|end)\\=)(\\+\\S+\\+\\s)?"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"captures": {
|
|
386
|
+
"0": {
|
|
387
|
+
"name": "support.type.syntax.viml"
|
|
388
|
+
},
|
|
389
|
+
"1": {
|
|
390
|
+
"name": "storage.syntax.viml"
|
|
391
|
+
},
|
|
392
|
+
"3": {
|
|
393
|
+
"name": "variable.other.syntax-scope.viml"
|
|
394
|
+
},
|
|
395
|
+
"4": {
|
|
396
|
+
"name": "storage.modifier.syntax.viml"
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
"match": "(syn|syntax)\\s+(cluster|keyword|match|region)(\\s+\\w+\\s+)(contained)?",
|
|
400
|
+
"patterns": [
|
|
401
|
+
]
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"captures": {
|
|
405
|
+
"1": {
|
|
406
|
+
"name": "storage.highlight.viml"
|
|
407
|
+
},
|
|
408
|
+
"2": {
|
|
409
|
+
"name": "storage.modifier.syntax.viml"
|
|
410
|
+
},
|
|
411
|
+
"3": {
|
|
412
|
+
"name": "support.function.highlight.viml"
|
|
413
|
+
},
|
|
414
|
+
"4": {
|
|
415
|
+
"name": "variable.other.viml"
|
|
416
|
+
},
|
|
417
|
+
"5": {
|
|
418
|
+
"name": "variable.other.viml"
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
"match": "(hi|highlight)(?:\\s+)(def|default)(?:\\s+)(link)(?:\\s+)(\\w+)(?:\\s+)(\\w+)",
|
|
422
|
+
"patterns": [
|
|
423
|
+
]
|
|
424
|
+
}
|
|
425
|
+
]
|
|
426
|
+
},
|
|
427
|
+
"variable": {
|
|
428
|
+
"patterns": [
|
|
429
|
+
{
|
|
430
|
+
"match": "https?://\\S+",
|
|
431
|
+
"name": "variable.other.link.viml"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"match": "(?<=\\()([a-zA-Z]+)(?=\\))",
|
|
435
|
+
"name": "variable.parameter.viml"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"match": "\\b([absgl]:[a-zA-Z0-9_.#]+)\\b(?!\\()",
|
|
439
|
+
"name": "variable.other.viml"
|
|
440
|
+
}
|
|
441
|
+
]
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
"scopeName": "source.viml"
|
|
445
|
+
}
|