mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 19:30:02 -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
|
|
@ -3,13 +3,7 @@
|
|||
|
||||
; Keywords
|
||||
[
|
||||
"type"
|
||||
"actor"
|
||||
"class"
|
||||
"primitive"
|
||||
"interface"
|
||||
"trait"
|
||||
"struct"
|
||||
"embed"
|
||||
"let"
|
||||
"var"
|
||||
|
|
@ -21,6 +15,15 @@
|
|||
"where"
|
||||
] @keyword
|
||||
|
||||
[
|
||||
"class"
|
||||
"struct"
|
||||
"type"
|
||||
"interface"
|
||||
"trait"
|
||||
"actor"
|
||||
] @keyword.type
|
||||
|
||||
"fun" @keyword.function
|
||||
|
||||
"be" @keyword.coroutine
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue