mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
C++: locals template_declaration must define their own scope in which the template arguments are valid
This commit is contained in:
parent
572a4a964b
commit
1301884e97
1 changed files with 2 additions and 1 deletions
|
|
@ -29,7 +29,8 @@
|
|||
;template <typename T>
|
||||
(type_parameter_declaration
|
||||
(type_identifier) @definition.type)
|
||||
|
||||
(template_declaration) @scope
|
||||
|
||||
;; Namespaces
|
||||
(namespace_definition
|
||||
name: (identifier) @definition.namespace
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue