mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 02:40:09 -04:00
feat: more @keyword.type captures
This commit is contained in:
parent
f0a1a13316
commit
f58cae6c22
74 changed files with 395 additions and 239 deletions
|
|
@ -94,8 +94,6 @@
|
|||
[
|
||||
; 0.x
|
||||
"using"
|
||||
"namespace"
|
||||
"struct"
|
||||
"let"
|
||||
"const"
|
||||
"local"
|
||||
|
|
@ -109,16 +107,21 @@
|
|||
"call"
|
||||
"nondet"
|
||||
; 1.0
|
||||
"type"
|
||||
"impl"
|
||||
"implicits"
|
||||
"of"
|
||||
"ref"
|
||||
"mut"
|
||||
"trait"
|
||||
"enum"
|
||||
] @keyword
|
||||
|
||||
[
|
||||
"struct"
|
||||
"enum"
|
||||
"namespace"
|
||||
"type"
|
||||
"trait"
|
||||
] @keyword.type
|
||||
|
||||
[
|
||||
"func"
|
||||
"fn"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue