Skip to content

Commit 8e6070c

Browse files
chore: reference most recent tree-sitter-objectscript, bump version 1.4.0
1 parent 06d40d7 commit 8e6070c

3 files changed

Lines changed: 14 additions & 20 deletions

File tree

extension.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
id = "objectscript"
22
name = "InterSystems ObjectScript"
3-
version = "1.3.0"
3+
version = "1.4.0"
44
schema_version = 1
55
authors = ["Dave McCaldon <davem@intersystems.com>","Hannah Kimura <hannah.kimura@intersystems.com>"]
66
description = "InterSystems IRIS ObjectScript Extension"
77
repository = "https://github.com/intersystems/zed-objectscript"
88

99
[grammars.objectscript_udl]
1010
repository = "https://github.com/intersystems/tree-sitter-objectscript"
11-
commit = "bd68f926f0b3451421be3b60387d0dce901aebe7"
11+
commit = "7aa01969d0fea2e75dc69f2be2244b13d8269d6f"
1212
path = "udl"
1313

1414
[grammars.objectscript_core]
1515
repository = "https://github.com/intersystems/tree-sitter-objectscript"
16-
commit = "bd68f926f0b3451421be3b60387d0dce901aebe7"
16+
commit = "7aa01969d0fea2e75dc69f2be2244b13d8269d6f"
1717
path = "core"
1818

1919
[grammars.objectscript]
2020
repository = "https://github.com/intersystems/tree-sitter-objectscript"
21-
commit = "bd68f926f0b3451421be3b60387d0dce901aebe7"
21+
commit = "7aa01969d0fea2e75dc69f2be2244b13d8269d6f"
2222
path = "objectscript"
2323

2424
[grammars.xml]

languages/objectscript_udl/highlights.scm

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
(objectscript_identifier) @variable
2323

2424
(method_arg) @variable.parameter
25-
; I didn't include ( or ) in this, because they are often grouped
25+
; I didn't include '(' or ')' in this, because they are often grouped
2626
; as part of a sequence that gets turned into a single token, so they
2727
; don't get matched, and one ends up getting colored differently than the other.
2828
[
@@ -50,6 +50,12 @@
5050
"/"
5151
"/"
5252
"$$"
53+
"--"
54+
";"
55+
"//"
56+
"#;"
57+
"##;"
58+
"$"
5359
] @punctuation
5460

5561
[
@@ -68,13 +74,13 @@
6874
"="
6975
">"
7076
">="
71-
"@"
77+
"@"
7278
"*"
7379
"**"
7480
"'"
7581
"'!"
7682
"'?"
77-
"!"
83+
"!"
7884
"?"
7985
] @operator
8086

@@ -83,8 +89,6 @@
8389
(json_number_literal) @number
8490
(json_null_literal) @string
8591
(bracket) @punctuation.bracket
86-
87-
;; inherits: objectscript_expr
8892
(locktype) @variable
8993

9094
(macro_arg) @variable
@@ -113,16 +117,6 @@ keyword: (_) @keyword
113117

114118
(tag) @tag
115119

116-
[
117-
"--"
118-
";"
119-
"//"
120-
"#;"
121-
"##;"
122-
"$"
123-
] @punctuation
124-
125-
;; inherits: objectscript_core
126120
; ------------------ UDL -------------------
127121

128122
[

languages/objectscript_udl/injections.scm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535

3636

37-
; UDL injections
37+
; UDL grammar injections
3838
;; Keywords, one of type language = "python", none of type codemode
3939
; External method body injection based on [ Language = ... ]
4040
(method_definition

0 commit comments

Comments
 (0)