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/pkl | |
parent | 38af99f05f76dfcdb36e5b498a64b8c39b2fa27a (diff) |
Fix malformed predicates in highlighting queries
Diffstat (limited to 'runtime/queries/pkl')
-rw-r--r-- | runtime/queries/pkl/highlights.scm | 2 | ||||
-rw-r--r-- | runtime/queries/pkl/injections.scm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/runtime/queries/pkl/highlights.scm b/runtime/queries/pkl/highlights.scm index 501c9485..1de6ba3c 100644 --- a/runtime/queries/pkl/highlights.scm +++ b/runtime/queries/pkl/highlights.scm @@ -172,7 +172,7 @@ (clazz (identifier) @type) (typeAlias (identifier) @type) ((identifier) @type - (match? @type "^[A-Z]")) + (#match? @type "^[A-Z]")) (typeArgumentList "<" @punctuation.bracket diff --git a/runtime/queries/pkl/injections.scm b/runtime/queries/pkl/injections.scm index 15867f35..c5d2d4ac 100644 --- a/runtime/queries/pkl/injections.scm +++ b/runtime/queries/pkl/injections.scm @@ -18,7 +18,7 @@ ( ((methodCallExpr (identifier) @methodName (argumentList (slStringLiteral) @injection.content)) (#set! injection.language "regex")) - (eq? @methodName "Regex")) + (#eq? @methodName "Regex")) ((lineComment) @injection.content (#set! injection.language "comment")) |