mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50: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
|
|
@ -6,10 +6,6 @@
|
|||
"endmodule"
|
||||
"program"
|
||||
"endprogram"
|
||||
"class"
|
||||
"endclass"
|
||||
"interface"
|
||||
"endinterface"
|
||||
"package"
|
||||
"endpackage"
|
||||
"checker"
|
||||
|
|
@ -40,6 +36,16 @@
|
|||
(unique_priority)
|
||||
] @keyword
|
||||
|
||||
[
|
||||
"class"
|
||||
"endclass"
|
||||
"interface"
|
||||
"endinterface"
|
||||
"enum"
|
||||
"struct"
|
||||
"union"
|
||||
] @keyword.type
|
||||
|
||||
[
|
||||
"function"
|
||||
"endfunction"
|
||||
|
|
@ -265,10 +271,6 @@
|
|||
(data_type
|
||||
"packed" @keyword.modifier))
|
||||
|
||||
(struct_union) @type
|
||||
|
||||
"enum" @type
|
||||
|
||||
(enum_name_declaration
|
||||
(enum_identifier
|
||||
(simple_identifier) @constant))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue