Skip to content

Commit 98499b7

Browse files
authored
🐛 Fix queries for new version of grammar
Closes #106
1 parent 7799e30 commit 98499b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

julia-ts-mode.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,9 @@ Otherwise, the indentation is:
144144
(bare_tuple
145145
(field_expression (identifier) "." (identifier) @font-lock-variable-name-face))
146146
(operator))
147-
(local_declaration (identifier) @font-lock-variable-name-face)
147+
(local_statement (identifier) @font-lock-variable-name-face)
148148
(let_binding (identifier) @font-lock-variable-name-face)
149-
(global_declaration (identifier) @font-lock-variable-name-face))
149+
(global_statement (identifier) @font-lock-variable-name-face))
150150

151151
:language 'julia
152152
:feature 'constant
@@ -237,7 +237,7 @@ Otherwise, the indentation is:
237237
:language 'julia
238238
:feature 'type
239239
:override t
240-
`((type_clause "<:" (_) @font-lock-type-face)
240+
`((type_clause (operator) (_) @font-lock-type-face)
241241
(typed_expression (_) "::" (_) @font-lock-type-face)
242242
(typed_parameter
243243
type: (_) @font-lock-type-face)

0 commit comments

Comments
 (0)