aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
authoroberblastmeister2021-08-18 16:02:15 +0000
committerGitHub2021-08-18 16:02:15 +0000
commit098b6b6eedf6da8e760b334d61acef56be8d258b (patch)
tree688cf8512fc8f1eefc7afc534de47b6c1827553a /runtime/queries
parent36095326d0caed43959892a6b5f669833f2a747c (diff)
gruvbox theme changes (#594)
* changed some gruvbox highlights * more stuff including cursors * use property instead * use variable.property
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/rust/highlights.scm9
1 files changed, 6 insertions, 3 deletions
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