diff options
author | Michael Davis | 2024-03-17 15:43:35 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2024-03-18 01:34:53 +0000 |
commit | 4ffe9935339a2bd3085720ef6bea62678e9d7e95 (patch) | |
tree | 9ddc56b3c528af3fe2ec3ba63e5b4d53de126a6f /runtime/queries/julia | |
parent | 38af99f05f76dfcdb36e5b498a64b8c39b2fa27a (diff) |
Fix malformed predicates in highlighting queries
Diffstat (limited to 'runtime/queries/julia')
-rw-r--r-- | runtime/queries/julia/highlights.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/queries/julia/highlights.scm b/runtime/queries/julia/highlights.scm index 90baee21..013f5063 100644 --- a/runtime/queries/julia/highlights.scm +++ b/runtime/queries/julia/highlights.scm @@ -231,7 +231,7 @@ ] @keyword ; TODO: fix this -((identifier) @keyword (match? @keyword "global|local")) +((identifier) @keyword (#match? @keyword "global|local")) ; --------- ; Operators @@ -277,12 +277,12 @@ ; SCREAMING_SNAKE_CASE ( (identifier) @constant - (match? @constant "^[A-Z][A-Z0-9_]*$")) + (#match? @constant "^[A-Z][A-Z0-9_]*$")) ; remaining identifiers that start with capital letters should be types (PascalCase) ( (identifier) @type - (match? @type "^[A-Z]")) + (#match? @type "^[A-Z]")) ; Field expressions are either module content or struct fields. ; Module types and constants should already be captured, so this |