From 3c7a0e9d949d3968bc3f95743f7d2c8c4666048c Mon Sep 17 00:00:00 2001 From: Riley Bruins Date: Sat, 16 Mar 2024 17:36:53 -0700 Subject: [PATCH] feat(rust): move pub to `@keyword.modifier` Also consolidates most of the captures --- queries/rust/highlights.scm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/queries/rust/highlights.scm b/queries/rust/highlights.scm index 64976b663..332ee12fa 100644 --- a/queries/rust/highlights.scm +++ b/queries/rust/highlights.scm @@ -256,7 +256,6 @@ "impl" "let" "move" - "pub" "struct" "trait" "type" @@ -274,10 +273,8 @@ [ "ref" + "pub" (mutable_specifier) -] @keyword.modifier - -[ "const" "static" "dyn"