From b99f46c735cf86abbbbc6829c1bbd8445fee919e Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Thu, 23 Dec 2021 16:49:38 -0500 Subject: Query: update highlights ref https://github.com/nvim-treesitter/tree-sitter-query/pull/17 --- queries/query/highlights.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'queries/query') diff --git a/queries/query/highlights.scm b/queries/query/highlights.scm index 515055449..37435a871 100644 --- a/queries/query/highlights.scm +++ b/queries/query/highlights.scm @@ -5,6 +5,7 @@ (predicate name: (identifier) @function) (named_node name: (identifier) @variable) (field_definition name: (identifier) @property) +(negated_field "!" @operator (identifier) @property) (comment) @comment (quantifier) @operator @@ -20,7 +21,7 @@ ] @punctuation.bracket ":" @punctuation.delimiter -"@" @punctuation.special +["@" "#"] @punctuation.special "_" @constant ((parameters (identifier) @number) -- cgit v1.2.3-70-g09d2