aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-04-14 08:16:45 +0000
committerBlaž Hrastnik2021-04-14 08:16:45 +0000
commit305a059f583ba0de3217506d4f89fc462de98cc0 (patch)
tree2a7018c0941ceb3168a51960fcf3325b31745e59 /runtime
parentb5b650cfe7df36e83b96c6663f2dc041f5d2b748 (diff)
Highlight metavariables ($var) inside rust macros.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/queries/rust/highlights.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/queries/rust/highlights.scm b/runtime/queries/rust/highlights.scm
index dcc9bca9..7a275d8e 100644
--- a/runtime/queries/rust/highlights.scm
+++ b/runtime/queries/rust/highlights.scm
@@ -116,6 +116,7 @@
(super) @keyword
(self) @variable.builtin
+(metavariable) @variable
[
(char_literal)