mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(c): local label highlights
This commit is contained in:
parent
fad40f2010
commit
18aa5ae3fd
1 changed files with 5 additions and 0 deletions
|
|
@ -159,6 +159,11 @@
|
|||
|
||||
(statement_identifier) @label
|
||||
|
||||
(declaration
|
||||
type: (type_identifier) @_type
|
||||
declarator: (identifier) @label
|
||||
(#eq? @_type "__label__"))
|
||||
|
||||
[
|
||||
(type_identifier)
|
||||
(type_descriptor)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue