aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/c
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-04-05 18:06:24 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-04-05 18:36:17 +0200
commit39a0e6bf3c04f26cc2a43993fd63d94039b7262d (patch)
tree8f5585ef75963002572363f354d4c3768cc82072 /runtime/queries/c
parent73de98256cf3932dca156fbfd0c82c1cc10d487e (diff)
downloadrneovim-39a0e6bf3c04f26cc2a43993fd63d94039b7262d.tar.gz
rneovim-39a0e6bf3c04f26cc2a43993fd63d94039b7262d.tar.bz2
rneovim-39a0e6bf3c04f26cc2a43993fd63d94039b7262d.zip
fix(treesitter): update parsers and queries
Diffstat (limited to 'runtime/queries/c')
-rw-r--r--runtime/queries/c/highlights.scm15
1 files changed, 5 insertions, 10 deletions
diff --git a/runtime/queries/c/highlights.scm b/runtime/queries/c/highlights.scm
index e22aac997f..c901b96f31 100644
--- a/runtime/queries/c/highlights.scm
+++ b/runtime/queries/c/highlights.scm
@@ -142,9 +142,6 @@
(char_literal) @character
-((preproc_arg) @function.macro
- (#set! "priority" 90))
-
(preproc_defined) @function.macro
((field_expression
@@ -263,18 +260,16 @@
function: (identifier) @function.call)
(call_expression
- function:
- (field_expression
- field: (field_identifier) @function.call))
+ function: (field_expression
+ field: (field_identifier) @function.call))
(function_declarator
declarator: (identifier) @function)
(function_declarator
- declarator:
- (parenthesized_declarator
- (pointer_declarator
- declarator: (field_identifier) @function)))
+ declarator: (parenthesized_declarator
+ (pointer_declarator
+ declarator: (field_identifier) @function)))
(preproc_function_def
name: (identifier) @function.macro)