summaryrefslogtreecommitdiff
path: root/queries/rust/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/rust/highlights.scm')
-rw-r--r--queries/rust/highlights.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/queries/rust/highlights.scm b/queries/rust/highlights.scm
index d1ce32de..baafc4be 100644
--- a/queries/rust/highlights.scm
+++ b/queries/rust/highlights.scm
@@ -140,7 +140,6 @@
"dyn"
"enum"
"extern"
-"fn"
"impl"
"let"
"macro_rules!"
@@ -165,6 +164,8 @@
(inner_attribute_item)
] @keyword
+"fn" @keyword.function
+
(use_list (self) @keyword)
(scoped_use_list (self) @keyword)
(scoped_identifier (self) @keyword)