mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
locals(cpp): add support for concepts
This commit is contained in:
parent
db01c82b08
commit
3ee34749bc
1 changed files with 5 additions and 0 deletions
|
|
@ -22,6 +22,9 @@
|
|||
(class_specifier
|
||||
name: (type_identifier) @definition.type)
|
||||
|
||||
(concept_definition
|
||||
name: (identifier) @definition.type)
|
||||
|
||||
(class_specifier
|
||||
name: (qualified_identifier
|
||||
name: (type_identifier) @definition.type))
|
||||
|
|
@ -64,3 +67,5 @@
|
|||
body: (_) @scope)
|
||||
|
||||
(catch_clause) @scope
|
||||
|
||||
(requires_expression) @scope
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue