diff options
| author | Steven Sojka <steelsojka@gmail.com> | 2020-08-16 11:24:10 -0500 |
|---|---|---|
| committer | Kiyan Yazdani <yazdani.kiyan@protonmail.com> | 2020-08-16 18:31:56 +0200 |
| commit | ce43dbf54cdc017e6885381f38ea056f78c4e55b (patch) | |
| tree | 27a4e0475002d2e3845e942cab8d57aeea679bff /queries/rust | |
| parent | 4a747aa30cc7d1ac73ebe5ac5cee97bf5fccc6d6 (diff) | |
fix(queries): use vim-match for non lua regexes
Diffstat (limited to 'queries/rust')
| -rw-r--r-- | queries/rust/highlights.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/rust/highlights.scm b/queries/rust/highlights.scm index 9b873b2f..1a3e53e8 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 |
