aboutsummaryrefslogtreecommitdiffstats
path: root/queries/rust
diff options
context:
space:
mode:
Diffstat (limited to 'queries/rust')
-rw-r--r--queries/rust/highlights.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/rust/highlights.scm b/queries/rust/highlights.scm
index 9b873b2f6..1a3e53e80 100644
--- a/queries/rust/highlights.scm
+++ b/queries/rust/highlights.scm
@@ -6,7 +6,7 @@
; Assume all-caps names are constants
((identifier) @constant
- (#match? @constant "^[A-Z][A-Z\\d_]+$'"))
+ (#vim-match? @constant "^[A-Z][A-Z\\d_]+$'"))
; Other identifiers