github-linguist 5.2.0 → 5.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/grammars/annotation.liquidhaskell.haskell.json +1445 -0
- data/grammars/hint.haskell.json +134 -17
- data/grammars/hint.message.haskell.json +134 -17
- data/grammars/hint.type.haskell.json +134 -17
- data/grammars/source.abl.json +48 -48
- data/grammars/source.afm.json +8 -1
- data/grammars/source.angelscript.json +195 -0
- data/grammars/source.ats.json +128 -58
- data/grammars/source.awk.json +138 -138
- data/grammars/source.ballerina.json +434 -0
- data/grammars/source.chapel.json +1 -1
- data/grammars/source.clips.json +20 -20
- data/grammars/source.cobol.json +4 -3
- data/grammars/source.coffee.json +556 -109
- data/grammars/source.cs.json +10 -5
- data/grammars/source.csound-document.json +1 -1
- data/grammars/source.csound-score.json +9 -9
- data/grammars/source.csound.json +23 -28
- data/grammars/source.css.json +6 -5
- data/grammars/source.data-weave.json +1584 -0
- data/grammars/source.elixir.json +3 -61
- data/grammars/source.elm.json +88 -88
- data/grammars/source.emacs.lisp.json +12 -1
- data/grammars/source.haskell.json +134 -17
- data/grammars/source.hsig.json +1376 -0
- data/grammars/source.httpspec.json +128 -128
- data/grammars/source.jison.json +6 -14
- data/grammars/source.jisonlex.json +1 -9
- data/grammars/source.js.json +1 -0
- data/grammars/source.js.regexp.json +0 -4
- data/grammars/source.js.regexp.replacement.json +0 -4
- data/grammars/source.jsdoc.json +3 -3
- data/grammars/source.lsl.json +146 -53
- data/grammars/source.mercury.json +166 -166
- data/grammars/source.ne.json +108 -0
- data/grammars/source.nim_filter.json +51 -51
- data/grammars/source.nut.json +266 -0
- data/grammars/source.opal.json +112 -112
- data/grammars/source.opalsysdefs.json +16 -16
- data/grammars/source.pan.json +1 -1
- data/grammars/source.papyrus.skyrim.json +720 -720
- data/grammars/source.pawn.json +2 -2
- data/grammars/source.prolog.eclipse.json +42 -42
- data/grammars/source.prolog.json +41 -41
- data/grammars/source.purescript.json +41 -25
- data/grammars/source.python.json +47 -34
- data/grammars/source.racket.json +54 -54
- data/grammars/source.reason.json +37 -3
- data/grammars/source.regexp.python.json +31 -0
- data/grammars/source.ruby.gemfile.json +27 -0
- data/grammars/source.ruby.json +1057 -356
- data/grammars/source.rust.json +1 -1
- data/grammars/source.sbt.json +13 -3
- data/grammars/source.scala.json +74 -55
- data/grammars/source.shaderlab.json +1 -1
- data/grammars/source.shell.json +26 -21
- data/grammars/source.shen.json +91 -91
- data/grammars/source.sqf.json +1 -1
- data/grammars/source.supercollider.json +1 -1
- data/grammars/source.swift.json +4 -0
- data/grammars/source.terra.json +36 -37
- data/grammars/source.terraform.json +98 -98
- data/grammars/source.ts.json +2231 -1677
- data/grammars/source.tsx.json +142 -3520
- data/grammars/source.vbnet.json +201 -263
- data/grammars/source.viml.json +2 -2
- data/grammars/source.wdl.json +200 -0
- data/grammars/source.yaml.json +34 -16
- data/grammars/text.find-refs.json +3 -3
- data/grammars/text.haml.json +1 -1
- data/grammars/text.html.abl.json +6 -6
- data/grammars/text.html.erb.json +8 -11
- data/grammars/text.html.php.blade.json +256 -220
- data/grammars/text.html.vue.json +1 -1
- data/grammars/text.slim.json +31 -17
- data/grammars/text.tex.latex.haskell.json +150 -33
- data/lib/linguist/heuristics.rb +8 -0
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +82 -26
- data/lib/linguist/samples.json +134512 -132868
- data/lib/linguist/vendor.yml +3 -0
- data/lib/linguist/version.rb +1 -1
- metadata +13 -4
data/grammars/source.viml.json
CHANGED
@@ -1055,7 +1055,7 @@
|
|
1055
1055
|
},
|
1056
1056
|
"vimFuncName": {
|
1057
1057
|
"name": "support.function.viml",
|
1058
|
-
"match": "\\b(abs|acos|add|and|append|argc|argidx|arglistid|argv|asin|assert_equal|assert_exception|assert_fails|assert_false|assert_inrange|assert_match|assert_notequal|assert_notmatch|assert_true|atan|atan2|browse|browsedir|bufexists|buflisted|bufloaded|bufname|bufnr|bufwinid|bufwinnr|byte2line|byteidx|byteidxcomp|call|ceil|ch_close|ch_close_in|ch_evalexpr|ch_evalraw|ch_getbufnr|ch_getjob|ch_info|ch_log|ch_logfile|ch_open|ch_read|ch_readraw|ch_sendexpr|ch_sendraw|ch_setoptions|ch_status|changenr|char2nr|cindent|clearmatches|col|complete|complete_add|complete_check|confirm|copy|cos|cosh|count|cscope_connection|cursor|deepcopy|delete|did_filetype|diff_filler|diff_hlID|empty|escape|eval|eventhandler|executable|execute|exepath|exists|exp|expand|extend|feedkeys|filereadable|filewritable|filter|finddir|findfile|float2nr|floor|fmod|fnameescape|fnamemodify|foldclosed|foldclosedend|foldlevel|foldtext|foldtextresult|foreground|funcref|function|garbagecollect|get|getbufinfo|getbufline|getbufvar|getchar|getcharmod|getcharsearch|getcmdline|getcmdpos|getcmdtype|getcmdwintype|getcompletion|getcurpos|getcwd|getfontname|getfperm|getfsize|getftime|getftype|getline|getloclist|getmatches|getpid|getpos|getqflist|getreg|getregtype|gettabinfo|gettabvar|gettabwinvar|getwininfo|getwinposx|getwinposy|getwinvar|glob|glob2regpat|globpath|has|has_key|haslocaldir|hasmapto|histadd|histdel|histget|histnr|hlexists|hlID|hostname|iconv|indent|index|input|inputdialog|inputlist|inputrestore|inputsave|inputsecret|insert|invert|isdirectory|islocked|isnan|items|job_getchannel|job_info|job_setoptions|job_start|job_status|job_stop|join|js_decode|js_encode|json_decode|json_encode|keys|len|libcall|libcallnr|line|line2byte|lispindent|localtime|log|log10|luaeval|map|maparg|mapcheck|match|matchadd|matchaddpos|matcharg|matchdelete|matchend|matchlist|matchstr|matchstrpos|max|min|mkdir|mode|mzeval|nextnonblank|nr2char|or|pathshorten|perleval|pow|prevnonblank|printf|pumvisible|py3eval|pyeval|range|readfile|reltime|reltimefloat|reltimestr|remote_expr|remote_foreground|remote_peek|remote_read|remote_send|remove|rename|repeat|resolve|reverse|round|screenattr|screenchar|screencol|screenrow|search|searchdecl|searchpair|searchpairpos|searchpos|server2client|serverlist|setbufvar|setcharsearch|setcmdpos|setfperm|setline|setloclist|setmatches|setpos|setqflist|setreg|settabvar|settabwinvar|setwinvar|sha256|shellescape|shiftwidth|simplify|sin|sinh|sort|soundfold|spellbadword|spellsuggest|split|sqrt|str2float|str2nr|strcharpart|strchars|strdisplaywidth|strftime|strgetchar|stridx|string|strlen|strpart|strridx|strtrans|strwidth|submatch|substitute|synconcealed|synID|synIDattr|synIDtrans|synstack|system|systemlist|tabpagebuflist|tabpagenr|tabpagewinnr|tagfiles|taglist|tan|tanh|tempname|test_alloc_fail|test_autochdir|test_disable_char_avail|test_garbagecollect_now|test_null_channel|test_null_dict|test_null_job|test_null_list|test_null_partial|test_null_string|test_settime|timer_info|timer_pause|timer_start|timer_stop|timer_stopall|tolower|toupper|tr|trunc|type|undofile|undotree|uniq|values|virtcol|visualmode|wildmenumode|win_findbuf|win_getid|win_gotoid|win_id2tabwin|win_id2win|winbufnr|wincol|winheight|winline|winnr|winrestcmd|winrestview|winsaveview|winwidth|wordcount|writefile|xor)\\b"
|
1058
|
+
"match": "\\b(abs|acos|add|and|append|argc|argidx|arglistid|argv|asin|assert_equal|assert_exception|assert_fails|assert_false|assert_inrange|assert_match|assert_notequal|assert_notmatch|assert_true|atan|atan2|browse|browsedir|bufexists|buflisted|bufloaded|bufname|bufnr|bufwinid|bufwinnr|byte2line|byteidx|byteidxcomp|call|ceil|ch_close|ch_close_in|ch_evalexpr|ch_evalraw|ch_getbufnr|ch_getjob|ch_info|ch_log|ch_logfile|ch_open|ch_read|ch_readraw|ch_sendexpr|ch_sendraw|ch_setoptions|ch_status|changenr|char2nr|cindent|clearmatches|col|complete|complete_add|complete_check|confirm|copy|cos|cosh|count|cscope_connection|cursor|deepcopy|delete|did_filetype|diff_filler|diff_hlID|empty|escape|eval|eventhandler|executable|execute|exepath|exists|exp|expand|extend|feedkeys|filereadable|filewritable|filter|finddir|findfile|float2nr|floor|fmod|fnameescape|fnamemodify|foldclosed|foldclosedend|foldlevel|foldtext|foldtextresult|foreground|funcref|function|garbagecollect|get|getbufinfo|getbufline|getbufvar|getchar|getcharmod|getcharsearch|getcmdline|getcmdpos|getcmdtype|getcmdwintype|getcompletion|getcurpos|getcwd|getfontname|getfperm|getfsize|getftime|getftype|getline|getloclist|getmatches|getpid|getpos|getqflist|getreg|getregtype|gettabinfo|gettabvar|gettabwinvar|getwininfo|getwinposx|getwinposy|getwinvar|glob|glob2regpat|globpath|has|has_key|haslocaldir|hasmapto|histadd|histdel|histget|histnr|hlexists|hlID|hostname|iconv|indent|index|input|inputdialog|inputlist|inputrestore|inputsave|inputsecret|insert|invert|isdirectory|islocked|isnan|items|job_getchannel|job_info|job_setoptions|job_start|job_status|job_stop|join|js_decode|js_encode|json_decode|json_encode|keys|len|libcall|libcallnr|line|line2byte|lispindent|localtime|log|log10|luaeval|map|maparg|mapcheck|match|matchadd|matchaddpos|matcharg|matchdelete|matchend|matchlist|matchstr|matchstrpos|max|min|mkdir|mode|mzeval|nextnonblank|nr2char|or|pathshorten|perleval|pow|prevnonblank|printf|pumvisible|py3eval|pyeval|range|readfile|reltime|reltimefloat|reltimestr|remote_expr|remote_foreground|remote_peek|remote_read|remote_send|remove|rename|repeat|resolve|reverse|round|screenattr|screenchar|screencol|screenrow|search|searchdecl|searchpair|searchpairpos|searchpos|server2client|serverlist|setbufline|setbufvar|setcharsearch|setcmdpos|setfperm|setline|setloclist|setmatches|setpos|setqflist|setreg|settabvar|settabwinvar|setwinvar|sha256|shellescape|shiftwidth|simplify|sin|sinh|sort|soundfold|spellbadword|spellsuggest|split|sqrt|str2float|str2nr|strcharpart|strchars|strdisplaywidth|strftime|strgetchar|stridx|string|strlen|strpart|strridx|strtrans|strwidth|submatch|substitute|synconcealed|synID|synIDattr|synIDtrans|synstack|system|systemlist|tabpagebuflist|tabpagenr|tabpagewinnr|tagfiles|taglist|tan|tanh|tempname|test_alloc_fail|test_autochdir|test_disable_char_avail|test_garbagecollect_now|test_null_channel|test_null_dict|test_null_job|test_null_list|test_null_partial|test_null_string|test_settime|timer_info|timer_pause|timer_start|timer_stop|timer_stopall|tolower|toupper|tr|trunc|type|undofile|undotree|uniq|values|virtcol|visualmode|wildmenumode|win_findbuf|win_getid|win_gotoid|win_id2tabwin|win_id2win|winbufnr|wincol|winheight|winline|winnr|winrestcmd|winrestview|winsaveview|winwidth|wordcount|writefile|xor)\\b"
|
1059
1059
|
},
|
1060
1060
|
"vimGroup": {
|
1061
1061
|
"name": "support.type.group.viml",
|
@@ -1071,7 +1071,7 @@
|
|
1071
1071
|
},
|
1072
1072
|
"vimHiAttrib": {
|
1073
1073
|
"name": "support.function.vimHiAttrib.viml",
|
1074
|
-
"match": "\\b(bold|inverse|italic|none|reverse|standout|undercurl|underline)\\b"
|
1074
|
+
"match": "\\b(bold|inverse|italic|nocombine|none|reverse|standout|undercurl|underline)\\b"
|
1075
1075
|
},
|
1076
1076
|
"vimHiClear": {
|
1077
1077
|
"name": "support.function.vimHiClear.viml",
|
@@ -0,0 +1,200 @@
|
|
1
|
+
{
|
2
|
+
"name": "WDL",
|
3
|
+
"scopeName": "source.wdl",
|
4
|
+
"fileTypes": [
|
5
|
+
"wdl"
|
6
|
+
],
|
7
|
+
"uuid": "29cdcefa-8185-46f9-988a-2310d2244661",
|
8
|
+
"patterns": [
|
9
|
+
{
|
10
|
+
"name": "keyword.operator.assignment.wdl",
|
11
|
+
"match": "\\="
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"name": "keyword.operator.comparison.wdl",
|
15
|
+
"match": "<\\=|>\\=|\\=\\=|<|>|\\!\\="
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"name": "keyword.operator.assignment.augmented.wdl",
|
19
|
+
"match": "\\+\\=|-\\=|\\*\\=|/\\=|//\\=|%\\=|&\\=|\\|\\=|\\^\\=|>>\\=|<<\\=|\\*\\*\\="
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"name": "keyword.operator.arithmetic.wdl",
|
23
|
+
"match": "\\+|\\-|\\*|\\*\\*|/|//|%|<<|>>|&|\\||\\^|~"
|
24
|
+
},
|
25
|
+
{
|
26
|
+
"name": "constant.language.wdl",
|
27
|
+
"match": "\\b(true|false)\\b"
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"include": "#builtin_types"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"include": "#comments"
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"include": "#input_output"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"include": "#keywords"
|
40
|
+
},
|
41
|
+
{
|
42
|
+
"include": "#string_quoted_single"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"include": "#string_quoted_double"
|
46
|
+
}
|
47
|
+
],
|
48
|
+
"repository": {
|
49
|
+
"builtin_types": {
|
50
|
+
"name": "support.type.wdl",
|
51
|
+
"match": "(?<!\\.)\\b(Array|Boolean|File|Float|Int|Map|Object|String|Uri)\\b"
|
52
|
+
},
|
53
|
+
"comments": {
|
54
|
+
"patterns": [
|
55
|
+
{
|
56
|
+
"name": "comment.line.number-sign.wdl",
|
57
|
+
"match": "(#).*$\\n?",
|
58
|
+
"captures": {
|
59
|
+
"1": {
|
60
|
+
"name": "punctuation.definition.comment.wdl"
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
]
|
65
|
+
},
|
66
|
+
"constant_placeholder": {
|
67
|
+
"name": "constant.other.placeholder.wdl",
|
68
|
+
"match": "(?i:%(\\([a-z_]+\\))?#?0?\\-?[ ]?\\+?([0-9]*|\\*)(\\.([0-9]*|\\*))?[hL]?[a-z%])"
|
69
|
+
},
|
70
|
+
"escaped_char": {
|
71
|
+
"match": "(\\\\x[0-9a-fA-F]{2})|(\\\\[0-7]{3})|(\\\\\\n)|(\\\\\\\\)|(\\\\\\\")|(\\\\')|(\\\\a)|(\\\\b)|(\\\\f)|(\\\\n)|(\\\\r)|(\\\\t)|(\\\\v)",
|
72
|
+
"captures": {
|
73
|
+
"1": {
|
74
|
+
"name": "constant.character.escape.hex.wdl"
|
75
|
+
},
|
76
|
+
"2": {
|
77
|
+
"name": "constant.character.escape.octal.wdl"
|
78
|
+
},
|
79
|
+
"3": {
|
80
|
+
"name": "constant.character.escape.newline.wdl"
|
81
|
+
},
|
82
|
+
"4": {
|
83
|
+
"name": "constant.character.escape.backlash.wdl"
|
84
|
+
},
|
85
|
+
"5": {
|
86
|
+
"name": "constant.character.escape.double-quote.wdl"
|
87
|
+
},
|
88
|
+
"6": {
|
89
|
+
"name": "constant.character.escape.single-quote.wdl"
|
90
|
+
},
|
91
|
+
"7": {
|
92
|
+
"name": "constant.character.escape.bell.wdl"
|
93
|
+
},
|
94
|
+
"8": {
|
95
|
+
"name": "constant.character.escape.backspace.wdl"
|
96
|
+
},
|
97
|
+
"9": {
|
98
|
+
"name": "constant.character.escape.formfeed.wdl"
|
99
|
+
},
|
100
|
+
"10": {
|
101
|
+
"name": "constant.character.escape.linefeed.wdl"
|
102
|
+
},
|
103
|
+
"11": {
|
104
|
+
"name": "constant.character.escape.return.wdl"
|
105
|
+
},
|
106
|
+
"12": {
|
107
|
+
"name": "constant.character.escape.tab.wdl"
|
108
|
+
},
|
109
|
+
"13": {
|
110
|
+
"name": "constant.character.escape.vertical-tab.wdl"
|
111
|
+
}
|
112
|
+
}
|
113
|
+
},
|
114
|
+
"escaped_unicode_char": {
|
115
|
+
"match": "(\\\\U[0-9A-Fa-f]{8})|(\\\\u[0-9A-Fa-f]{4})|(\\\\N\\{[a-zA-Z0-9\\, ]+\\})",
|
116
|
+
"captures": {
|
117
|
+
"1": {
|
118
|
+
"name": "constant.character.escape.unicode.16-bit-hex.wdl"
|
119
|
+
},
|
120
|
+
"2": {
|
121
|
+
"name": "constant.character.escape.unicode.32-bit-hex.wdl"
|
122
|
+
},
|
123
|
+
"3": {
|
124
|
+
"name": "constant.character.escape.unicode.name.wdl"
|
125
|
+
}
|
126
|
+
}
|
127
|
+
},
|
128
|
+
"keywords": {
|
129
|
+
"patterns": [
|
130
|
+
{
|
131
|
+
"name": "keyword.other.wdl",
|
132
|
+
"match": "\\s*(call|command|output|runtime|task|workflow|if|then|else|import|as|input|output|meta|parameter_meta)\\s+"
|
133
|
+
}
|
134
|
+
]
|
135
|
+
},
|
136
|
+
"string_quoted_double": {
|
137
|
+
"patterns": [
|
138
|
+
{
|
139
|
+
"comment": "double quoted string",
|
140
|
+
"name": "string.quoted.double.single-line.wdl",
|
141
|
+
"begin": "(\")",
|
142
|
+
"beginCaptures": {
|
143
|
+
"1": {
|
144
|
+
"name": "punctuation.definition.string.begin.wdl"
|
145
|
+
}
|
146
|
+
},
|
147
|
+
"end": "(\")",
|
148
|
+
"endCaptures": {
|
149
|
+
"1": {
|
150
|
+
"name": "punctuation.definition.string.end.wdl"
|
151
|
+
},
|
152
|
+
"2": {
|
153
|
+
"name": "invalid.illegal.unclosed-string.wdl"
|
154
|
+
}
|
155
|
+
},
|
156
|
+
"patterns": [
|
157
|
+
{
|
158
|
+
"include": "#constant_placeholder"
|
159
|
+
},
|
160
|
+
{
|
161
|
+
"include": "#escaped_char"
|
162
|
+
}
|
163
|
+
]
|
164
|
+
}
|
165
|
+
]
|
166
|
+
},
|
167
|
+
"string_quoted_single": {
|
168
|
+
"patterns": [
|
169
|
+
{
|
170
|
+
"comment": "single quoted string",
|
171
|
+
"name": "string.quoted.single.single-line.wdl",
|
172
|
+
"begin": "(')",
|
173
|
+
"beginCaptures": {
|
174
|
+
"1": {
|
175
|
+
"name": "punctuation.definition.string.begin.wdl"
|
176
|
+
}
|
177
|
+
},
|
178
|
+
"end": "(')",
|
179
|
+
"endCaptures": {
|
180
|
+
"1": {
|
181
|
+
"name": "punctuation.definition.string.end.wdl"
|
182
|
+
},
|
183
|
+
"2": {
|
184
|
+
"name": "invalid.illegal.unclosed-string.wdl"
|
185
|
+
}
|
186
|
+
},
|
187
|
+
"patterns": [
|
188
|
+
{
|
189
|
+
"include": "#constant_placeholder"
|
190
|
+
},
|
191
|
+
{
|
192
|
+
"include": "#escaped_char"
|
193
|
+
}
|
194
|
+
]
|
195
|
+
}
|
196
|
+
]
|
197
|
+
}
|
198
|
+
},
|
199
|
+
"author": "Andrew Teixeira <teixeira@broadinstitute.org>"
|
200
|
+
}
|
data/grammars/source.yaml.json
CHANGED
@@ -14,7 +14,8 @@
|
|
14
14
|
"sls",
|
15
15
|
"stylelintrc",
|
16
16
|
"sublime-syntax",
|
17
|
-
"Boxfile"
|
17
|
+
"Boxfile",
|
18
|
+
"ksy"
|
18
19
|
],
|
19
20
|
"firstLineMatch": "^(#cloud-config|---)",
|
20
21
|
"patterns": [
|
@@ -37,7 +38,7 @@
|
|
37
38
|
"name": "punctuation.definition.document.end.yaml"
|
38
39
|
},
|
39
40
|
{
|
40
|
-
"begin": "^(\\s*)(?!-\\s*)(
|
41
|
+
"begin": "^(\\s*)(?!-\\s*)([^!@#%&*>,][^#]*\\S)\\s*(:)(?:\\s+((!)[^!\\s]+))?\\s+(?=\\||>)",
|
41
42
|
"beginCaptures": {
|
42
43
|
"2": {
|
43
44
|
"name": "entity.name.tag.yaml"
|
@@ -52,9 +53,18 @@
|
|
52
53
|
"name": "punctuation.definition.tag.local.yaml"
|
53
54
|
}
|
54
55
|
},
|
55
|
-
"end": "^(
|
56
|
+
"end": "^(?!$)(?!\\1\\s+)",
|
56
57
|
"contentName": "string.unquoted.block.yaml",
|
57
58
|
"patterns": [
|
59
|
+
{
|
60
|
+
"begin": "\\G",
|
61
|
+
"end": "$",
|
62
|
+
"patterns": [
|
63
|
+
{
|
64
|
+
"include": "#comment"
|
65
|
+
}
|
66
|
+
]
|
67
|
+
},
|
58
68
|
{
|
59
69
|
"include": "#constants"
|
60
70
|
},
|
@@ -64,7 +74,7 @@
|
|
64
74
|
]
|
65
75
|
},
|
66
76
|
{
|
67
|
-
"begin": "^(\\s*)(?:(-)|(?:(?:(-)\\s*)?(
|
77
|
+
"begin": "^(\\s*)(?:(-)|(?:(?:(-)(\\s*))?([^!@#%&*>,][^#]*\\S)\\s*(:)))(?:\\s+((!)[^!\\s]+))?\\s+(?=\\||>)",
|
68
78
|
"beginCaptures": {
|
69
79
|
"2": {
|
70
80
|
"name": "punctuation.definition.entry.yaml"
|
@@ -72,22 +82,31 @@
|
|
72
82
|
"3": {
|
73
83
|
"name": "punctuation.definition.entry.yaml"
|
74
84
|
},
|
75
|
-
"
|
85
|
+
"5": {
|
76
86
|
"name": "entity.name.tag.yaml"
|
77
87
|
},
|
78
|
-
"
|
88
|
+
"6": {
|
79
89
|
"name": "punctuation.separator.key-value.yaml"
|
80
90
|
},
|
81
|
-
"
|
91
|
+
"7": {
|
82
92
|
"name": "keyword.other.tag.local.yaml"
|
83
93
|
},
|
84
|
-
"
|
94
|
+
"8": {
|
85
95
|
"name": "punctuation.definition.tag.local.yaml"
|
86
96
|
}
|
87
97
|
},
|
88
|
-
"end": "^((
|
98
|
+
"end": "^((?!$)(?!\\1\\s+)|(?=\\s\\4(-|[^\\s!@#%&*>,].*:\\s+)))",
|
89
99
|
"contentName": "string.unquoted.block.yaml",
|
90
100
|
"patterns": [
|
101
|
+
{
|
102
|
+
"begin": "\\G",
|
103
|
+
"end": "$",
|
104
|
+
"patterns": [
|
105
|
+
{
|
106
|
+
"include": "#comment"
|
107
|
+
}
|
108
|
+
]
|
109
|
+
},
|
91
110
|
{
|
92
111
|
"include": "#constants"
|
93
112
|
},
|
@@ -222,15 +241,14 @@
|
|
222
241
|
],
|
223
242
|
"repository": {
|
224
243
|
"comment": {
|
225
|
-
"
|
226
|
-
"
|
227
|
-
"
|
228
|
-
"name": "comment.line.number-sign.yaml"
|
229
|
-
},
|
230
|
-
"2": {
|
244
|
+
"begin": "(?<=^|\\s)#(?!{)",
|
245
|
+
"beginCaptures": {
|
246
|
+
"0": {
|
231
247
|
"name": "punctuation.definition.comment.yaml"
|
232
248
|
}
|
233
|
-
}
|
249
|
+
},
|
250
|
+
"end": "$",
|
251
|
+
"name": "comment.line.number-sign.yaml"
|
234
252
|
},
|
235
253
|
"constants": {
|
236
254
|
"match": "(?<=\\s)(true|false|null|True|False|Null|TRUE|FALSE|NULL|~)(?=\\s*$)",
|
@@ -691,15 +691,15 @@
|
|
691
691
|
},
|
692
692
|
"relational-operator": {
|
693
693
|
"name": "keyword.operator.ts",
|
694
|
-
"match": "
|
694
|
+
"match": "===|!==|==|!=|<=|>=|<>|=|<|>"
|
695
695
|
},
|
696
696
|
"assignment-operator": {
|
697
697
|
"name": "keyword.operator.ts",
|
698
|
-
"match": "
|
698
|
+
"match": "<<=|>>>=|>>=|\\*=|(?<!\\()/=|%=|\\+=|\\-=|&=|\\^="
|
699
699
|
},
|
700
700
|
"logic-operator": {
|
701
701
|
"name": "keyword.operator.ts",
|
702
|
-
"match": "
|
702
|
+
"match": "\\!|&&|&|~|\\|\\||\\|"
|
703
703
|
},
|
704
704
|
"storage-keyword": {
|
705
705
|
"name": "storage.type.ts",
|
data/grammars/text.haml.json
CHANGED
data/grammars/text.html.abl.json
CHANGED
@@ -1,12 +1,15 @@
|
|
1
1
|
{
|
2
|
+
"name": "HTML (ABL)",
|
3
|
+
"scopeName": "text.html.abl",
|
2
4
|
"fileTypes": [
|
3
5
|
"w",
|
4
6
|
"html"
|
5
7
|
],
|
6
|
-
"
|
8
|
+
"uuid": "043f4cd2-a6ba-49fc-b269-0fbf41acb7e5",
|
7
9
|
"patterns": [
|
8
10
|
{
|
9
11
|
"begin": ".*(<)(script) (language)(=)(\"SpeedScript\")(>)",
|
12
|
+
"end": ".*(</)(script)(>)",
|
10
13
|
"beginCaptures": {
|
11
14
|
"1": {
|
12
15
|
"name": "punctuation.definition.tag.begin.html"
|
@@ -27,7 +30,6 @@
|
|
27
30
|
"name": "punctuation.definition.tag.end.html"
|
28
31
|
}
|
29
32
|
},
|
30
|
-
"end": ".*(</)(script)(>)",
|
31
33
|
"endCaptures": {
|
32
34
|
"1": {
|
33
35
|
"name": "punctuation.definition.tag.begin.html"
|
@@ -48,12 +50,12 @@
|
|
48
50
|
},
|
49
51
|
{
|
50
52
|
"begin": "\\`",
|
53
|
+
"end": "\\`",
|
51
54
|
"beginCaptures": {
|
52
55
|
"0": {
|
53
56
|
"name": "string.double.quoted.html"
|
54
57
|
}
|
55
58
|
},
|
56
|
-
"end": "\\`",
|
57
59
|
"endCaptures": {
|
58
60
|
"0": {
|
59
61
|
"name": "string.double.quoted.html"
|
@@ -69,7 +71,5 @@
|
|
69
71
|
{
|
70
72
|
"include": "text.html.basic"
|
71
73
|
}
|
72
|
-
]
|
73
|
-
"scopeName": "text.html.abl",
|
74
|
-
"uuid": "043f4cd2-a6ba-49fc-b269-0fbf41acb7e5"
|
74
|
+
]
|
75
75
|
}
|
data/grammars/text.html.erb.json
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
{
|
2
|
+
"name": "HTML (Ruby - ERB)",
|
3
|
+
"scopeName": "text.html.erb",
|
2
4
|
"fileTypes": [
|
3
|
-
"erb",
|
4
5
|
"rhtml",
|
5
6
|
"html.erb"
|
6
7
|
],
|
7
8
|
"injections": {
|
8
|
-
"text.html.erb - (meta.embedded.block.erb | meta.embedded.line.erb | comment)": {
|
9
|
+
"text.html.erb - (meta.embedded.block.erb | meta.embedded.line.erb | meta.tag | comment), meta.tag string.quoted": {
|
9
10
|
"patterns": [
|
10
11
|
{
|
11
12
|
"begin": "(^\\s*)(?=<%+#(?![^%]*%>))",
|
@@ -54,8 +55,6 @@
|
|
54
55
|
]
|
55
56
|
}
|
56
57
|
},
|
57
|
-
"keyEquivalent": "^~H",
|
58
|
-
"name": "HTML (Ruby - ERB)",
|
59
58
|
"patterns": [
|
60
59
|
{
|
61
60
|
"include": "text.html.basic"
|
@@ -90,8 +89,8 @@
|
|
90
89
|
"name": "punctuation.section.embedded.begin.erb"
|
91
90
|
}
|
92
91
|
},
|
93
|
-
"contentName": "source.ruby",
|
94
|
-
"end": "
|
92
|
+
"contentName": "source.ruby.embedded.erb",
|
93
|
+
"end": "-?%>",
|
95
94
|
"endCaptures": {
|
96
95
|
"0": {
|
97
96
|
"name": "punctuation.section.embedded.end.erb"
|
@@ -123,8 +122,8 @@
|
|
123
122
|
"name": "punctuation.section.embedded.begin.erb"
|
124
123
|
}
|
125
124
|
},
|
126
|
-
"contentName": "source.ruby",
|
127
|
-
"end": "
|
125
|
+
"contentName": "source.ruby.embedded.erb",
|
126
|
+
"end": "-?%>",
|
128
127
|
"endCaptures": {
|
129
128
|
"0": {
|
130
129
|
"name": "punctuation.section.embedded.end.erb"
|
@@ -151,7 +150,5 @@
|
|
151
150
|
}
|
152
151
|
]
|
153
152
|
}
|
154
|
-
}
|
155
|
-
"scopeName": "text.html.erb",
|
156
|
-
"uuid": "13FF9439-15D0-4E74-9A8E-83ABF0BAA5E7"
|
153
|
+
}
|
157
154
|
}
|