From 098b6b6eedf6da8e760b334d61acef56be8d258b Mon Sep 17 00:00:00 2001 From: oberblastmeister Date: Wed, 18 Aug 2021 12:02:15 -0400 Subject: gruvbox theme changes (#594) * changed some gruvbox highlights * more stuff including cursors * use property instead * use variable.property--- runtime/queries/rust/highlights.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'runtime/queries/rust/highlights.scm') diff --git a/runtime/queries/rust/highlights.scm b/runtime/queries/rust/highlights.scm index 5e469e67..6b14d74d 100644 --- a/runtime/queries/rust/highlights.scm +++ b/runtime/queries/rust/highlights.scm @@ -41,8 +41,9 @@ (field_initializer (field_identifier) @property) -(shorthand_field_initializer) @variable -(shorthand_field_identifier) @variable +(shorthand_field_initializer + (identifier) @variable.property) +(shorthand_field_identifier) @variable.property (lifetime "'" @label @@ -65,6 +66,8 @@ ")" "[" "]" + "{" + "}" ] @punctuation.bracket (type_arguments [ @@ -333,4 +336,4 @@ (type_identifier) @type (identifier) @variable -(field_identifier) @variable +(field_identifier) @property -- cgit v1.2.3-70-g09d2