Unnamed repository; edit this file 'description' to name the repository.
fix incorrect predicate in comment highlights (#7732)
Pham Huy Hoang 2023-07-26
parent a188282 · commit 75239a9
-rw-r--r--runtime/queries/comment/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/queries/comment/highlights.scm b/runtime/queries/comment/highlights.scm
index 3b25531a..6255d285 100644
--- a/runtime/queries/comment/highlights.scm
+++ b/runtime/queries/comment/highlights.scm
@@ -28,10 +28,10 @@
; Error level tags
((tag (name) @error)
- (match? @error "^(BUG|FIXME|ISSUE|XXX)$"))
+ (#match? @error "^(BUG|FIXME|ISSUE|XXX)$"))
("text" @error
- (match? @error "^(BUG|FIXME|ISSUE|XXX)$"))
+ (#match? @error "^(BUG|FIXME|ISSUE|XXX)$"))
(tag
(name) @ui.text