aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/cpp')
-rw-r--r--runtime/queries/cpp/highlights.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/queries/cpp/highlights.scm b/runtime/queries/cpp/highlights.scm
index 11877a76..7bfccf72 100644
--- a/runtime/queries/cpp/highlights.scm
+++ b/runtime/queries/cpp/highlights.scm
@@ -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