@harness-reins/linux-x64 0.13.3 → 0.14.0-alpha.2
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/dist/reins/ZELLIJ-LICENSE.md +21 -0
- package/dist/reins/_internal/harness_reins/_build.txt +1 -1
- package/dist/reins/_internal/lib-dynload/_asyncio.cpython-312-x86_64-linux-gnu.so +0 -0
- package/dist/reins/_internal/lib-dynload/_multiprocessing.cpython-312-x86_64-linux-gnu.so +0 -0
- package/dist/reins/_internal/lib-dynload/_posixshmem.cpython-312-x86_64-linux-gnu.so +0 -0
- package/dist/reins/_internal/lib-dynload/_queue.cpython-312-x86_64-linux-gnu.so +0 -0
- package/dist/reins/_internal/lib-dynload/mmap.cpython-312-x86_64-linux-gnu.so +0 -0
- package/dist/reins/_internal/textual/py.typed +0 -0
- package/dist/reins/_internal/textual/tree-sitter/highlights/bash.scm +56 -0
- package/dist/reins/_internal/textual/tree-sitter/highlights/css.scm +91 -0
- package/dist/reins/_internal/textual/tree-sitter/highlights/go.scm +123 -0
- package/dist/reins/_internal/textual/tree-sitter/highlights/html.scm +25 -0
- package/dist/reins/_internal/textual/tree-sitter/highlights/java.scm +142 -0
- package/dist/reins/_internal/textual/tree-sitter/highlights/javascript.scm +204 -0
- package/dist/reins/_internal/textual/tree-sitter/highlights/json.scm +32 -0
- package/dist/reins/_internal/textual/tree-sitter/highlights/markdown.scm +51 -0
- package/dist/reins/_internal/textual/tree-sitter/highlights/python.scm +313 -0
- package/dist/reins/_internal/textual/tree-sitter/highlights/regex.scm +50 -0
- package/dist/reins/_internal/textual/tree-sitter/highlights/rust.scm +155 -0
- package/dist/reins/_internal/textual/tree-sitter/highlights/sql.scm +444 -0
- package/dist/reins/_internal/textual/tree-sitter/highlights/toml.scm +36 -0
- package/dist/reins/_internal/textual/tree-sitter/highlights/xml.scm +168 -0
- package/dist/reins/_internal/textual/tree-sitter/highlights/yaml.scm +53 -0
- package/dist/reins/_internal/textual/widgets/__init__.pyi +43 -0
- package/dist/reins/_internal/textual-8.2.8.dist-info/INSTALLER +1 -0
- package/dist/reins/_internal/textual-8.2.8.dist-info/METADATA +266 -0
- package/dist/reins/_internal/textual-8.2.8.dist-info/RECORD +516 -0
- package/dist/reins/_internal/textual-8.2.8.dist-info/WHEEL +4 -0
- package/dist/reins/_internal/textual-8.2.8.dist-info/licenses/LICENSE +21 -0
- package/dist/reins/reins +0 -0
- package/dist/reins/zellij +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 Zellij contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
5af57b825b4d
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
[
|
|
2
|
+
(string)
|
|
3
|
+
(raw_string)
|
|
4
|
+
(heredoc_body)
|
|
5
|
+
(heredoc_start)
|
|
6
|
+
] @string
|
|
7
|
+
|
|
8
|
+
(command_name) @function
|
|
9
|
+
|
|
10
|
+
(variable_name) @property
|
|
11
|
+
|
|
12
|
+
[
|
|
13
|
+
"case"
|
|
14
|
+
"do"
|
|
15
|
+
"done"
|
|
16
|
+
"elif"
|
|
17
|
+
"else"
|
|
18
|
+
"esac"
|
|
19
|
+
"export"
|
|
20
|
+
"fi"
|
|
21
|
+
"for"
|
|
22
|
+
"function"
|
|
23
|
+
"if"
|
|
24
|
+
"in"
|
|
25
|
+
"select"
|
|
26
|
+
"then"
|
|
27
|
+
"unset"
|
|
28
|
+
"until"
|
|
29
|
+
"while"
|
|
30
|
+
] @keyword
|
|
31
|
+
|
|
32
|
+
(comment) @comment
|
|
33
|
+
|
|
34
|
+
(function_definition name: (word) @function)
|
|
35
|
+
|
|
36
|
+
(file_descriptor) @number
|
|
37
|
+
|
|
38
|
+
[
|
|
39
|
+
(command_substitution)
|
|
40
|
+
(process_substitution)
|
|
41
|
+
(expansion)
|
|
42
|
+
]@embedded
|
|
43
|
+
|
|
44
|
+
[
|
|
45
|
+
"$"
|
|
46
|
+
"&&"
|
|
47
|
+
">"
|
|
48
|
+
">>"
|
|
49
|
+
"<"
|
|
50
|
+
"|"
|
|
51
|
+
] @operator
|
|
52
|
+
|
|
53
|
+
(
|
|
54
|
+
(command (_) @constant)
|
|
55
|
+
(#match? @constant "^-")
|
|
56
|
+
)
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
[
|
|
2
|
+
"@media"
|
|
3
|
+
"@charset"
|
|
4
|
+
"@namespace"
|
|
5
|
+
"@supports"
|
|
6
|
+
"@keyframes"
|
|
7
|
+
(at_keyword)
|
|
8
|
+
(to)
|
|
9
|
+
(from)
|
|
10
|
+
] @keyword
|
|
11
|
+
|
|
12
|
+
"@import" @include
|
|
13
|
+
|
|
14
|
+
(comment) @comment @spell
|
|
15
|
+
|
|
16
|
+
[
|
|
17
|
+
(tag_name)
|
|
18
|
+
(nesting_selector)
|
|
19
|
+
(universal_selector)
|
|
20
|
+
] @type
|
|
21
|
+
|
|
22
|
+
(function_name) @function
|
|
23
|
+
|
|
24
|
+
[
|
|
25
|
+
"~"
|
|
26
|
+
">"
|
|
27
|
+
"+"
|
|
28
|
+
"-"
|
|
29
|
+
"*"
|
|
30
|
+
"/"
|
|
31
|
+
"="
|
|
32
|
+
"^="
|
|
33
|
+
"|="
|
|
34
|
+
"~="
|
|
35
|
+
"$="
|
|
36
|
+
"*="
|
|
37
|
+
"and"
|
|
38
|
+
"or"
|
|
39
|
+
"not"
|
|
40
|
+
"only"
|
|
41
|
+
] @operator
|
|
42
|
+
|
|
43
|
+
(important) @type.qualifier
|
|
44
|
+
|
|
45
|
+
(attribute_selector (plain_value) @string)
|
|
46
|
+
(pseudo_element_selector "::" (tag_name) @property)
|
|
47
|
+
(pseudo_class_selector (class_name) @property)
|
|
48
|
+
|
|
49
|
+
[
|
|
50
|
+
(class_name)
|
|
51
|
+
(id_name)
|
|
52
|
+
(property_name)
|
|
53
|
+
(feature_name)
|
|
54
|
+
(attribute_name)
|
|
55
|
+
] @css.property
|
|
56
|
+
|
|
57
|
+
(namespace_name) @namespace
|
|
58
|
+
|
|
59
|
+
((property_name) @type.definition
|
|
60
|
+
(#match? @type.definition "^[-][-]"))
|
|
61
|
+
((plain_value) @type
|
|
62
|
+
(#match? @type "^[-][-]"))
|
|
63
|
+
|
|
64
|
+
[
|
|
65
|
+
(string_value)
|
|
66
|
+
(color_value)
|
|
67
|
+
(unit)
|
|
68
|
+
] @string
|
|
69
|
+
|
|
70
|
+
[
|
|
71
|
+
(integer_value)
|
|
72
|
+
(float_value)
|
|
73
|
+
] @number
|
|
74
|
+
|
|
75
|
+
[
|
|
76
|
+
"#"
|
|
77
|
+
","
|
|
78
|
+
"."
|
|
79
|
+
":"
|
|
80
|
+
"::"
|
|
81
|
+
";"
|
|
82
|
+
] @punctuation.delimiter
|
|
83
|
+
|
|
84
|
+
[
|
|
85
|
+
"{"
|
|
86
|
+
")"
|
|
87
|
+
"("
|
|
88
|
+
"}"
|
|
89
|
+
] @punctuation.bracket
|
|
90
|
+
|
|
91
|
+
(ERROR) @error
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
; Function calls
|
|
2
|
+
|
|
3
|
+
(call_expression
|
|
4
|
+
function: (identifier) @function.builtin
|
|
5
|
+
(.match? @function.builtin "^(append|cap|close|complex|copy|delete|imag|len|make|new|panic|print|println|real|recover)$"))
|
|
6
|
+
|
|
7
|
+
(call_expression
|
|
8
|
+
function: (identifier) @function)
|
|
9
|
+
|
|
10
|
+
(call_expression
|
|
11
|
+
function: (selector_expression
|
|
12
|
+
field: (field_identifier) @function.method))
|
|
13
|
+
|
|
14
|
+
; Function definitions
|
|
15
|
+
|
|
16
|
+
(function_declaration
|
|
17
|
+
name: (identifier) @function)
|
|
18
|
+
|
|
19
|
+
(method_declaration
|
|
20
|
+
name: (field_identifier) @function.method)
|
|
21
|
+
|
|
22
|
+
; Identifiers
|
|
23
|
+
|
|
24
|
+
(type_identifier) @type
|
|
25
|
+
(field_identifier) @property
|
|
26
|
+
(identifier) @variable
|
|
27
|
+
|
|
28
|
+
; Operators
|
|
29
|
+
|
|
30
|
+
[
|
|
31
|
+
"--"
|
|
32
|
+
"-"
|
|
33
|
+
"-="
|
|
34
|
+
":="
|
|
35
|
+
"!"
|
|
36
|
+
"!="
|
|
37
|
+
"..."
|
|
38
|
+
"*"
|
|
39
|
+
"*"
|
|
40
|
+
"*="
|
|
41
|
+
"/"
|
|
42
|
+
"/="
|
|
43
|
+
"&"
|
|
44
|
+
"&&"
|
|
45
|
+
"&="
|
|
46
|
+
"%"
|
|
47
|
+
"%="
|
|
48
|
+
"^"
|
|
49
|
+
"^="
|
|
50
|
+
"+"
|
|
51
|
+
"++"
|
|
52
|
+
"+="
|
|
53
|
+
"<-"
|
|
54
|
+
"<"
|
|
55
|
+
"<<"
|
|
56
|
+
"<<="
|
|
57
|
+
"<="
|
|
58
|
+
"="
|
|
59
|
+
"=="
|
|
60
|
+
">"
|
|
61
|
+
">="
|
|
62
|
+
">>"
|
|
63
|
+
">>="
|
|
64
|
+
"|"
|
|
65
|
+
"|="
|
|
66
|
+
"||"
|
|
67
|
+
"~"
|
|
68
|
+
] @operator
|
|
69
|
+
|
|
70
|
+
; Keywords
|
|
71
|
+
|
|
72
|
+
[
|
|
73
|
+
"break"
|
|
74
|
+
"case"
|
|
75
|
+
"chan"
|
|
76
|
+
"const"
|
|
77
|
+
"continue"
|
|
78
|
+
"default"
|
|
79
|
+
"defer"
|
|
80
|
+
"else"
|
|
81
|
+
"fallthrough"
|
|
82
|
+
"for"
|
|
83
|
+
"func"
|
|
84
|
+
"go"
|
|
85
|
+
"goto"
|
|
86
|
+
"if"
|
|
87
|
+
"import"
|
|
88
|
+
"interface"
|
|
89
|
+
"map"
|
|
90
|
+
"package"
|
|
91
|
+
"range"
|
|
92
|
+
"return"
|
|
93
|
+
"select"
|
|
94
|
+
"struct"
|
|
95
|
+
"switch"
|
|
96
|
+
"type"
|
|
97
|
+
"var"
|
|
98
|
+
] @keyword
|
|
99
|
+
|
|
100
|
+
; Literals
|
|
101
|
+
|
|
102
|
+
[
|
|
103
|
+
(interpreted_string_literal)
|
|
104
|
+
(raw_string_literal)
|
|
105
|
+
(rune_literal)
|
|
106
|
+
] @string
|
|
107
|
+
|
|
108
|
+
(escape_sequence) @escape
|
|
109
|
+
|
|
110
|
+
[
|
|
111
|
+
(int_literal)
|
|
112
|
+
(float_literal)
|
|
113
|
+
(imaginary_literal)
|
|
114
|
+
] @number
|
|
115
|
+
|
|
116
|
+
[
|
|
117
|
+
(true)
|
|
118
|
+
(false)
|
|
119
|
+
(nil)
|
|
120
|
+
(iota)
|
|
121
|
+
] @constant.builtin
|
|
122
|
+
|
|
123
|
+
(comment) @comment
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
(tag_name) @tag
|
|
2
|
+
(erroneous_end_tag_name) @html.end_tag_error
|
|
3
|
+
(comment) @comment
|
|
4
|
+
(attribute_name) @tag.attribute
|
|
5
|
+
(attribute
|
|
6
|
+
(quoted_attribute_value) @string)
|
|
7
|
+
(text) @text @spell
|
|
8
|
+
|
|
9
|
+
((attribute
|
|
10
|
+
(attribute_name) @_attr
|
|
11
|
+
(quoted_attribute_value (attribute_value) @text.uri))
|
|
12
|
+
(#any-of? @_attr "href" "src"))
|
|
13
|
+
|
|
14
|
+
[
|
|
15
|
+
"<"
|
|
16
|
+
">"
|
|
17
|
+
"</"
|
|
18
|
+
"/>"
|
|
19
|
+
] @tag.delimiter
|
|
20
|
+
|
|
21
|
+
"=" @operator
|
|
22
|
+
|
|
23
|
+
(doctype) @constant
|
|
24
|
+
|
|
25
|
+
"<!" @tag.delimiter
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
; Methods
|
|
2
|
+
|
|
3
|
+
(method_declaration
|
|
4
|
+
name: (identifier) @function.method)
|
|
5
|
+
(method_invocation
|
|
6
|
+
name: (identifier) @function.method)
|
|
7
|
+
(super) @function.builtin
|
|
8
|
+
|
|
9
|
+
; Annotations
|
|
10
|
+
|
|
11
|
+
(annotation
|
|
12
|
+
name: (identifier) @attribute)
|
|
13
|
+
(marker_annotation
|
|
14
|
+
name: (identifier) @attribute)
|
|
15
|
+
|
|
16
|
+
"@" @operator
|
|
17
|
+
|
|
18
|
+
; Types
|
|
19
|
+
|
|
20
|
+
(type_identifier) @type
|
|
21
|
+
|
|
22
|
+
(interface_declaration
|
|
23
|
+
name: (identifier) @type)
|
|
24
|
+
(class_declaration
|
|
25
|
+
name: (identifier) @type)
|
|
26
|
+
(enum_declaration
|
|
27
|
+
name: (identifier) @type)
|
|
28
|
+
|
|
29
|
+
((field_access
|
|
30
|
+
object: (identifier) @type)
|
|
31
|
+
(#match? @type "^[A-Z]"))
|
|
32
|
+
((scoped_identifier
|
|
33
|
+
scope: (identifier) @type)
|
|
34
|
+
(#match? @type "^[A-Z]"))
|
|
35
|
+
((method_invocation
|
|
36
|
+
object: (identifier) @type)
|
|
37
|
+
(#match? @type "^[A-Z]"))
|
|
38
|
+
((method_reference
|
|
39
|
+
. (identifier) @type)
|
|
40
|
+
(#match? @type "^[A-Z]"))
|
|
41
|
+
|
|
42
|
+
(constructor_declaration
|
|
43
|
+
name: (identifier) @type)
|
|
44
|
+
|
|
45
|
+
[
|
|
46
|
+
(boolean_type)
|
|
47
|
+
(integral_type)
|
|
48
|
+
(floating_point_type)
|
|
49
|
+
(floating_point_type)
|
|
50
|
+
(void_type)
|
|
51
|
+
] @type.builtin
|
|
52
|
+
|
|
53
|
+
; Variables
|
|
54
|
+
|
|
55
|
+
((identifier) @constant
|
|
56
|
+
(#match? @constant "^_*[A-Z][A-Z\\d_]+$"))
|
|
57
|
+
|
|
58
|
+
(identifier) @variable
|
|
59
|
+
|
|
60
|
+
(this) @variable.builtin
|
|
61
|
+
|
|
62
|
+
; Literals
|
|
63
|
+
|
|
64
|
+
[
|
|
65
|
+
(hex_integer_literal)
|
|
66
|
+
(decimal_integer_literal)
|
|
67
|
+
(octal_integer_literal)
|
|
68
|
+
(decimal_floating_point_literal)
|
|
69
|
+
(hex_floating_point_literal)
|
|
70
|
+
] @number
|
|
71
|
+
|
|
72
|
+
[
|
|
73
|
+
(character_literal)
|
|
74
|
+
(string_literal)
|
|
75
|
+
] @string
|
|
76
|
+
(escape_sequence) @string.escape
|
|
77
|
+
|
|
78
|
+
[
|
|
79
|
+
(true)
|
|
80
|
+
(false)
|
|
81
|
+
(null_literal)
|
|
82
|
+
] @constant.builtin
|
|
83
|
+
|
|
84
|
+
[
|
|
85
|
+
(line_comment)
|
|
86
|
+
(block_comment)
|
|
87
|
+
] @comment
|
|
88
|
+
|
|
89
|
+
; Keywords
|
|
90
|
+
|
|
91
|
+
[
|
|
92
|
+
"abstract"
|
|
93
|
+
"assert"
|
|
94
|
+
"break"
|
|
95
|
+
"case"
|
|
96
|
+
"catch"
|
|
97
|
+
"class"
|
|
98
|
+
"continue"
|
|
99
|
+
"default"
|
|
100
|
+
"do"
|
|
101
|
+
"else"
|
|
102
|
+
"enum"
|
|
103
|
+
"exports"
|
|
104
|
+
"extends"
|
|
105
|
+
"final"
|
|
106
|
+
"finally"
|
|
107
|
+
"for"
|
|
108
|
+
"if"
|
|
109
|
+
"implements"
|
|
110
|
+
"import"
|
|
111
|
+
"instanceof"
|
|
112
|
+
"interface"
|
|
113
|
+
"module"
|
|
114
|
+
"native"
|
|
115
|
+
"new"
|
|
116
|
+
"non-sealed"
|
|
117
|
+
"open"
|
|
118
|
+
"opens"
|
|
119
|
+
"package"
|
|
120
|
+
"private"
|
|
121
|
+
"protected"
|
|
122
|
+
"provides"
|
|
123
|
+
"public"
|
|
124
|
+
"requires"
|
|
125
|
+
"record"
|
|
126
|
+
"return"
|
|
127
|
+
"sealed"
|
|
128
|
+
"static"
|
|
129
|
+
"strictfp"
|
|
130
|
+
"switch"
|
|
131
|
+
"synchronized"
|
|
132
|
+
"throw"
|
|
133
|
+
"throws"
|
|
134
|
+
"to"
|
|
135
|
+
"transient"
|
|
136
|
+
"transitive"
|
|
137
|
+
"try"
|
|
138
|
+
"uses"
|
|
139
|
+
"volatile"
|
|
140
|
+
"while"
|
|
141
|
+
"with"
|
|
142
|
+
] @keyword
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
; Variables
|
|
2
|
+
;----------
|
|
3
|
+
|
|
4
|
+
(identifier) @variable
|
|
5
|
+
|
|
6
|
+
; Properties
|
|
7
|
+
;-----------
|
|
8
|
+
|
|
9
|
+
(property_identifier) @property
|
|
10
|
+
|
|
11
|
+
; Function and method definitions
|
|
12
|
+
;--------------------------------
|
|
13
|
+
|
|
14
|
+
(function_expression
|
|
15
|
+
name: (identifier) @function)
|
|
16
|
+
(function_declaration
|
|
17
|
+
name: (identifier) @function)
|
|
18
|
+
(method_definition
|
|
19
|
+
name: (property_identifier) @function.method)
|
|
20
|
+
|
|
21
|
+
(pair
|
|
22
|
+
key: (property_identifier) @function.method
|
|
23
|
+
value: [(function_expression) (arrow_function)])
|
|
24
|
+
|
|
25
|
+
(assignment_expression
|
|
26
|
+
left: (member_expression
|
|
27
|
+
property: (property_identifier) @function.method)
|
|
28
|
+
right: [(function_expression) (arrow_function)])
|
|
29
|
+
|
|
30
|
+
(variable_declarator
|
|
31
|
+
name: (identifier) @function
|
|
32
|
+
value: [(function_expression) (arrow_function)])
|
|
33
|
+
|
|
34
|
+
(assignment_expression
|
|
35
|
+
left: (identifier) @function
|
|
36
|
+
right: [(function_expression) (arrow_function)])
|
|
37
|
+
|
|
38
|
+
; Function and method calls
|
|
39
|
+
;--------------------------
|
|
40
|
+
|
|
41
|
+
(call_expression
|
|
42
|
+
function: (identifier) @function)
|
|
43
|
+
|
|
44
|
+
(call_expression
|
|
45
|
+
function: (member_expression
|
|
46
|
+
property: (property_identifier) @function.method))
|
|
47
|
+
|
|
48
|
+
; Special identifiers
|
|
49
|
+
;--------------------
|
|
50
|
+
|
|
51
|
+
((identifier) @constructor
|
|
52
|
+
(#match? @constructor "^[A-Z]"))
|
|
53
|
+
|
|
54
|
+
([
|
|
55
|
+
(identifier)
|
|
56
|
+
(shorthand_property_identifier)
|
|
57
|
+
(shorthand_property_identifier_pattern)
|
|
58
|
+
] @constant
|
|
59
|
+
(#match? @constant "^[A-Z_][A-Z\\d_]+$"))
|
|
60
|
+
|
|
61
|
+
((identifier) @variable.builtin
|
|
62
|
+
(#match? @variable.builtin "^(arguments|module|console|window|document)$")
|
|
63
|
+
(#is-not? local))
|
|
64
|
+
|
|
65
|
+
((identifier) @function.builtin
|
|
66
|
+
(#eq? @function.builtin "require")
|
|
67
|
+
(#is-not? local))
|
|
68
|
+
|
|
69
|
+
; Literals
|
|
70
|
+
;---------
|
|
71
|
+
|
|
72
|
+
(this) @variable.builtin
|
|
73
|
+
(super) @variable.builtin
|
|
74
|
+
|
|
75
|
+
[
|
|
76
|
+
(true)
|
|
77
|
+
(false)
|
|
78
|
+
(null)
|
|
79
|
+
(undefined)
|
|
80
|
+
] @constant.builtin
|
|
81
|
+
|
|
82
|
+
(comment) @comment
|
|
83
|
+
|
|
84
|
+
[
|
|
85
|
+
(string)
|
|
86
|
+
(template_string)
|
|
87
|
+
] @string
|
|
88
|
+
|
|
89
|
+
(regex) @string.special
|
|
90
|
+
(number) @number
|
|
91
|
+
|
|
92
|
+
; Tokens
|
|
93
|
+
;-------
|
|
94
|
+
|
|
95
|
+
[
|
|
96
|
+
";"
|
|
97
|
+
(optional_chain)
|
|
98
|
+
"."
|
|
99
|
+
","
|
|
100
|
+
] @punctuation.delimiter
|
|
101
|
+
|
|
102
|
+
[
|
|
103
|
+
"-"
|
|
104
|
+
"--"
|
|
105
|
+
"-="
|
|
106
|
+
"+"
|
|
107
|
+
"++"
|
|
108
|
+
"+="
|
|
109
|
+
"*"
|
|
110
|
+
"*="
|
|
111
|
+
"**"
|
|
112
|
+
"**="
|
|
113
|
+
"/"
|
|
114
|
+
"/="
|
|
115
|
+
"%"
|
|
116
|
+
"%="
|
|
117
|
+
"<"
|
|
118
|
+
"<="
|
|
119
|
+
"<<"
|
|
120
|
+
"<<="
|
|
121
|
+
"="
|
|
122
|
+
"=="
|
|
123
|
+
"==="
|
|
124
|
+
"!"
|
|
125
|
+
"!="
|
|
126
|
+
"!=="
|
|
127
|
+
"=>"
|
|
128
|
+
">"
|
|
129
|
+
">="
|
|
130
|
+
">>"
|
|
131
|
+
">>="
|
|
132
|
+
">>>"
|
|
133
|
+
">>>="
|
|
134
|
+
"~"
|
|
135
|
+
"^"
|
|
136
|
+
"&"
|
|
137
|
+
"|"
|
|
138
|
+
"^="
|
|
139
|
+
"&="
|
|
140
|
+
"|="
|
|
141
|
+
"&&"
|
|
142
|
+
"||"
|
|
143
|
+
"??"
|
|
144
|
+
"&&="
|
|
145
|
+
"||="
|
|
146
|
+
"??="
|
|
147
|
+
] @operator
|
|
148
|
+
|
|
149
|
+
[
|
|
150
|
+
"("
|
|
151
|
+
")"
|
|
152
|
+
"["
|
|
153
|
+
"]"
|
|
154
|
+
"{"
|
|
155
|
+
"}"
|
|
156
|
+
] @punctuation.bracket
|
|
157
|
+
|
|
158
|
+
(template_substitution
|
|
159
|
+
"${" @punctuation.special
|
|
160
|
+
"}" @punctuation.special) @embedded
|
|
161
|
+
|
|
162
|
+
[
|
|
163
|
+
"as"
|
|
164
|
+
"async"
|
|
165
|
+
"await"
|
|
166
|
+
"break"
|
|
167
|
+
"case"
|
|
168
|
+
"catch"
|
|
169
|
+
"class"
|
|
170
|
+
"const"
|
|
171
|
+
"continue"
|
|
172
|
+
"debugger"
|
|
173
|
+
"default"
|
|
174
|
+
"delete"
|
|
175
|
+
"do"
|
|
176
|
+
"else"
|
|
177
|
+
"export"
|
|
178
|
+
"extends"
|
|
179
|
+
"finally"
|
|
180
|
+
"for"
|
|
181
|
+
"from"
|
|
182
|
+
"function"
|
|
183
|
+
"get"
|
|
184
|
+
"if"
|
|
185
|
+
"import"
|
|
186
|
+
"in"
|
|
187
|
+
"instanceof"
|
|
188
|
+
"let"
|
|
189
|
+
"new"
|
|
190
|
+
"of"
|
|
191
|
+
"return"
|
|
192
|
+
"set"
|
|
193
|
+
"static"
|
|
194
|
+
"switch"
|
|
195
|
+
"target"
|
|
196
|
+
"throw"
|
|
197
|
+
"try"
|
|
198
|
+
"typeof"
|
|
199
|
+
"var"
|
|
200
|
+
"void"
|
|
201
|
+
"while"
|
|
202
|
+
"with"
|
|
203
|
+
"yield"
|
|
204
|
+
] @keyword
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
[
|
|
2
|
+
(true)
|
|
3
|
+
(false)
|
|
4
|
+
] @boolean
|
|
5
|
+
|
|
6
|
+
(null) @json.null
|
|
7
|
+
|
|
8
|
+
(number) @number
|
|
9
|
+
|
|
10
|
+
(pair key: (string) @json.label)
|
|
11
|
+
(pair value: (string) @string)
|
|
12
|
+
|
|
13
|
+
(array (string) @string)
|
|
14
|
+
|
|
15
|
+
(string_content) @spell
|
|
16
|
+
|
|
17
|
+
(ERROR) @json.error
|
|
18
|
+
|
|
19
|
+
["," ":"] @punctuation.delimiter
|
|
20
|
+
|
|
21
|
+
[
|
|
22
|
+
"[" "]"
|
|
23
|
+
"{" "}"
|
|
24
|
+
] @punctuation.bracket
|
|
25
|
+
|
|
26
|
+
(("\"" @conceal)
|
|
27
|
+
(#set! conceal ""))
|
|
28
|
+
|
|
29
|
+
(escape_sequence) @string.escape
|
|
30
|
+
((escape_sequence) @conceal
|
|
31
|
+
(#eq? @conceal "\\\"")
|
|
32
|
+
(#set! conceal "\""))
|