mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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
|
||||
name: (identifier) @namespace)
|
||||
|
||||
(using_declaration . "using" . "namespace" . [(scoped_identifier) (identifier)] @namespace)
|
||||
|
||||
(destructor_name
|
||||
(identifier) @method)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue