mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 02:40:09 -04:00
Use function keyword highlight group for Rust's fn
This commit is contained in:
parent
107d8b93c1
commit
74b84a66d7
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue