mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-04 12:30:01 -04:00
C/C++ highlights: Small improvements for type definitions
This commit is contained in:
parent
26cb05f205
commit
f803c74ebc
2 changed files with 6 additions and 0 deletions
|
|
@ -20,6 +20,9 @@
|
|||
name: (scoped_type_identifier
|
||||
name: (type_identifier) @definition.type))
|
||||
|
||||
(alias_declaration
|
||||
name: (type_identifier) @definition.type)
|
||||
|
||||
;; Function defintions
|
||||
(template_function
|
||||
name: (identifier) @definition.function) @scope
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue