mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -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
|
|
@ -6,7 +6,6 @@
|
|||
"closed"
|
||||
"compose"
|
||||
"const"
|
||||
"enum"
|
||||
"error"
|
||||
"flexible"
|
||||
"library"
|
||||
|
|
@ -15,16 +14,20 @@
|
|||
"overlay"
|
||||
"protocol"
|
||||
"reserved"
|
||||
"resource"
|
||||
"service"
|
||||
"strict"
|
||||
"struct"
|
||||
"table"
|
||||
"type"
|
||||
"union"
|
||||
"using"
|
||||
] @keyword
|
||||
|
||||
[
|
||||
"enum"
|
||||
"struct"
|
||||
"table"
|
||||
"union"
|
||||
"resource"
|
||||
"service"
|
||||
"type"
|
||||
] @keyword.type
|
||||
|
||||
(primitives_type) @type.builtin
|
||||
|
||||
(builtin_complex_type) @type.builtin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue