summaryrefslogtreecommitdiff
path: root/queries/comment
diff options
context:
space:
mode:
Diffstat (limited to 'queries/comment')
-rw-r--r--queries/comment/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/comment/highlights.scm b/queries/comment/highlights.scm
index c8b086c8..6c3e043c 100644
--- a/queries/comment/highlights.scm
+++ b/queries/comment/highlights.scm
@@ -20,6 +20,6 @@
(#any-of? @text.danger "FIXME" "XXX" "BUG"))
; Issue number (#123)
-("text" @number (#match? @number "^#[0-9]+$"))
+("text" @number (#lua-match? @number "^#[0-9]+$"))
; User mention (@user)
-("text" @constant (#match? @constant "^[@][a-zA-Z0-9_-]+$"))
+("text" @constant (#lua-match? @constant "^[@][a-zA-Z0-9_-]+$"))