mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Improve highlighting for generate blocks
This commit is contained in:
parent
2fd50be1d6
commit
7fa67b490f
1 changed files with 6 additions and 0 deletions
|
|
@ -89,6 +89,7 @@
|
|||
">>"
|
||||
"<<"
|
||||
"|="
|
||||
(inc_or_dec_operator)
|
||||
] @operator
|
||||
|
||||
(cast
|
||||
|
|
@ -96,6 +97,8 @@
|
|||
|
||||
(edge_identifier) @attribute
|
||||
|
||||
";" @punctuation.delimiter
|
||||
|
||||
(port_direction) @label
|
||||
(port_identifier
|
||||
(simple_identifier) @variable)
|
||||
|
|
@ -200,6 +203,7 @@
|
|||
[
|
||||
(integer_atom_type)
|
||||
(non_integer_type)
|
||||
"genvar"
|
||||
] @type.builtin
|
||||
|
||||
(struct_union_member
|
||||
|
|
@ -217,3 +221,5 @@
|
|||
|
||||
(type_declaration
|
||||
(simple_identifier) @type)
|
||||
|
||||
(generate_block_identifier) @comment
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue