mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 10:50:06 -04:00
highlights(cpp): highlight namespaces in using declartions
This commit is contained in:
parent
19efc3d8f3
commit
98b9e271ba
1 changed files with 2 additions and 0 deletions
|
|
@ -44,6 +44,8 @@
|
||||||
(namespace_definition
|
(namespace_definition
|
||||||
name: (identifier) @namespace)
|
name: (identifier) @namespace)
|
||||||
|
|
||||||
|
(using_declaration . "using" . "namespace" . [(scoped_identifier) (identifier)] @namespace)
|
||||||
|
|
||||||
(destructor_name
|
(destructor_name
|
||||||
(identifier) @method)
|
(identifier) @method)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue