mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 19:46:58 -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"
|
||||
"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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue