Use function keyword highlight group for Rust's fn

This commit is contained in:
Cédric Barreteau 2021-01-16 19:02:09 +01:00 committed by Thomas Vigouroux
parent 107d8b93c1
commit 74b84a66d7

View file

@ -140,7 +140,6 @@
"dyn" "dyn"
"enum" "enum"
"extern" "extern"
"fn"
"impl" "impl"
"let" "let"
"macro_rules!" "macro_rules!"
@ -165,6 +164,8 @@
(inner_attribute_item) (inner_attribute_item)
] @keyword ] @keyword
"fn" @keyword.function
(use_list (self) @keyword) (use_list (self) @keyword)
(scoped_use_list (self) @keyword) (scoped_use_list (self) @keyword)
(scoped_identifier (self) @keyword) (scoped_identifier (self) @keyword)