mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-10 23:40:04 -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
|
] @operator
|
||||||
|
|
||||||
(cast
|
(cast
|
||||||
|
|
@ -96,6 +97,8 @@
|
||||||
|
|
||||||
(edge_identifier) @attribute
|
(edge_identifier) @attribute
|
||||||
|
|
||||||
|
";" @punctuation.delimiter
|
||||||
|
|
||||||
(port_direction) @label
|
(port_direction) @label
|
||||||
(port_identifier
|
(port_identifier
|
||||||
(simple_identifier) @variable)
|
(simple_identifier) @variable)
|
||||||
|
|
@ -200,6 +203,7 @@
|
||||||
[
|
[
|
||||||
(integer_atom_type)
|
(integer_atom_type)
|
||||||
(non_integer_type)
|
(non_integer_type)
|
||||||
|
"genvar"
|
||||||
] @type.builtin
|
] @type.builtin
|
||||||
|
|
||||||
(struct_union_member
|
(struct_union_member
|
||||||
|
|
@ -217,3 +221,5 @@
|
||||||
|
|
||||||
(type_declaration
|
(type_declaration
|
||||||
(simple_identifier) @type)
|
(simple_identifier) @type)
|
||||||
|
|
||||||
|
(generate_block_identifier) @comment
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue