aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/cpp/highlights.scm
diff options
context:
space:
mode:
authorJaehwang Jung <tomtomjhj@gmail.com>2025-06-06 19:36:48 +0900
committerChristian Clason <ch.clason+github@icloud.com>2025-06-07 10:28:49 +0200
commitc48b37a3c9cb8baedcb667c8c5f22b62185c8916 (patch)
treefb7d4e0dfa1b4725031e9e51462a30a531da3f6f /runtime/queries/cpp/highlights.scm
parentfix(ipkg)!: remove parser and queries (diff)
downloadnvim-treesitter-c48b37a3c9cb8baedcb667c8c5f22b62185c8916.tar
nvim-treesitter-c48b37a3c9cb8baedcb667c8c5f22b62185c8916.tar.gz
nvim-treesitter-c48b37a3c9cb8baedcb667c8c5f22b62185c8916.tar.bz2
nvim-treesitter-c48b37a3c9cb8baedcb667c8c5f22b62185c8916.tar.lz
nvim-treesitter-c48b37a3c9cb8baedcb667c8c5f22b62185c8916.tar.xz
nvim-treesitter-c48b37a3c9cb8baedcb667c8c5f22b62185c8916.tar.zst
nvim-treesitter-c48b37a3c9cb8baedcb667c8c5f22b62185c8916.zip
feat(cpp): highlight template method call
Diffstat (limited to 'runtime/queries/cpp/highlights.scm')
-rw-r--r--runtime/queries/cpp/highlights.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/queries/cpp/highlights.scm b/runtime/queries/cpp/highlights.scm
index 85ff2dc40..ac0315275 100644
--- a/runtime/queries/cpp/highlights.scm
+++ b/runtime/queries/cpp/highlights.scm
@@ -154,6 +154,11 @@
(field_expression
(field_identifier) @function.method.call))
+(call_expression
+ (field_expression
+ (template_method
+ (field_identifier) @function.method.call)))
+
; constructors
((function_declarator
(qualified_identifier