aboutsummaryrefslogtreecommitdiffstats
path: root/queries/angular
diff options
context:
space:
mode:
Diffstat (limited to 'queries/angular')
-rw-r--r--queries/angular/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/angular/highlights.scm b/queries/angular/highlights.scm
index 98c6f76e9..dc926bb9a 100644
--- a/queries/angular/highlights.scm
+++ b/queries/angular/highlights.scm
@@ -43,9 +43,9 @@
] @punctuation.delimiter
((identifier) @boolean
- (#vim-match? @boolean "^(true|false)$"))
+ (#any-of? @boolean "true" "false"))
((identifier) @variable.builtin
- (#vim-match? @variable.builtin "^(this|\$event|null)$"))
+ (#any-of? @variable.builtin "this" "\$event" "null"))
[
"-"