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"
"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)