mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
feat(rust): move pub to @keyword.modifier
Also consolidates most of the captures
This commit is contained in:
parent
5b8458c5aa
commit
3c7a0e9d94
1 changed files with 1 additions and 4 deletions
|
|
@ -256,7 +256,6 @@
|
||||||
"impl"
|
"impl"
|
||||||
"let"
|
"let"
|
||||||
"move"
|
"move"
|
||||||
"pub"
|
|
||||||
"struct"
|
"struct"
|
||||||
"trait"
|
"trait"
|
||||||
"type"
|
"type"
|
||||||
|
|
@ -274,10 +273,8 @@
|
||||||
|
|
||||||
[
|
[
|
||||||
"ref"
|
"ref"
|
||||||
|
"pub"
|
||||||
(mutable_specifier)
|
(mutable_specifier)
|
||||||
] @keyword.modifier
|
|
||||||
|
|
||||||
[
|
|
||||||
"const"
|
"const"
|
||||||
"static"
|
"static"
|
||||||
"dyn"
|
"dyn"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue