aboutsummaryrefslogtreecommitdiffstats
path: root/queries/rust/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/rust/highlights.scm')
-rw-r--r--queries/rust/highlights.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/queries/rust/highlights.scm b/queries/rust/highlights.scm
index fabe32e99..0e6c757d7 100644
--- a/queries/rust/highlights.scm
+++ b/queries/rust/highlights.scm
@@ -146,6 +146,11 @@
(block_comment)
] @comment
+[
+ (line_comment)
+ (block_comment)
+] @spell
+
(boolean_literal) @boolean
(integer_literal) @number
(float_literal) @float