aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-04-13 08:06:35 +0000
committerBlaž Hrastnik2021-04-13 08:06:35 +0000
commitdfb1ae2d3342d578aee10152ac6bbbb407f25f9c (patch)
tree5ceab6b788e82076bc70b28cb88aaa0831941356 /runtime
parent2a1f10d1b57f88233eb48a9dbce2b56196801bd8 (diff)
Rust: Highlight 'crate' as a keyword.
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 71ef17ab..dcc9bca9 100644
--- a/runtime/queries/rust/highlights.scm
+++ b/runtime/queries/rust/highlights.scm
@@ -79,6 +79,7 @@
"break" @keyword
"const" @keyword
"continue" @keyword
+(crate) @keyword
"default" @keyword
"dyn" @keyword
"else" @keyword