aboutsummaryrefslogtreecommitdiffstats
path: root/queries/cpp
diff options
context:
space:
mode:
authorPhạm Huy Hoàng <hoangtun0810@gmail.com>2024-01-21 22:05:44 +0900
committerPhạm Huy Hoàng <hoangtun0810@gmail.com>2024-01-21 23:55:02 +0900
commit77e298e4de607d69aa7f37dc6dcba6aee131ac7f (patch)
treee3342d2c5b5244c13ee40c1ccc080192335ec277 /queries/cpp
parentfix(format-scripts): remove parens if possible (diff)
downloadnvim-treesitter-77e298e4de607d69aa7f37dc6dcba6aee131ac7f.tar
nvim-treesitter-77e298e4de607d69aa7f37dc6dcba6aee131ac7f.tar.gz
nvim-treesitter-77e298e4de607d69aa7f37dc6dcba6aee131ac7f.tar.bz2
nvim-treesitter-77e298e4de607d69aa7f37dc6dcba6aee131ac7f.tar.lz
nvim-treesitter-77e298e4de607d69aa7f37dc6dcba6aee131ac7f.tar.xz
nvim-treesitter-77e298e4de607d69aa7f37dc6dcba6aee131ac7f.tar.zst
nvim-treesitter-77e298e4de607d69aa7f37dc6dcba6aee131ac7f.zip
chore: format queries
Diffstat (limited to 'queries/cpp')
-rw-r--r--queries/cpp/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/cpp/highlights.scm b/queries/cpp/highlights.scm
index cb8f9c3f3..883c26faa 100644
--- a/queries/cpp/highlights.scm
+++ b/queries/cpp/highlights.scm
@@ -16,8 +16,8 @@
declarator: (_) @variable.parameter)
;(field_expression) @variable.parameter ;; How to highlight this?
-(((field_expression
- (field_identifier) @function.method)) @_parent
+((field_expression
+ (field_identifier) @function.method) @_parent
(#has-parent? @_parent template_method function_declarator))
(field_declaration