mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-05 11:57:43 +03:00
c/c++ highlights: *& are @type or @operator based on context (#4278)
This commit is contained in:
parent
45e038f4d5
commit
a3ed9169df
2 changed files with 7 additions and 0 deletions
|
@ -34,6 +34,10 @@
|
|||
(auto) @type
|
||||
"decltype" @type
|
||||
|
||||
(ref_qualifier ["&" "&&"] @type.builtin)
|
||||
(reference_declarator ["&" "&&"] @type.builtin)
|
||||
(abstract_reference_declarator ["&" "&&"] @type.builtin)
|
||||
|
||||
; Constants
|
||||
|
||||
(this) @variable.builtin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue