From 47fae28325eb624dd301324c2959a24e0d7e77e5 Mon Sep 17 00:00:00 2001 From: Iron-E Date: Tue, 2 Feb 2021 15:31:49 -0500 Subject: [PATCH] ref(colors): improve rust highlights 1. Remove unused highlights. 2. Add `rustUnused` definition. 3. Change `rustAssert` default. --- colors/highlite.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/colors/highlite.vim b/colors/highlite.vim index 7129764..0be4646 100644 --- a/colors/highlite.vim +++ b/colors/highlite.vim @@ -579,19 +579,20 @@ local highlight_groups = { rubyInterpolationDelimiter = 'Delimiter', --[[ 4.3.22. Rust ]] + rustAssert = 'Debug', rustConstraint = 'Operator', rustDynKeyword = 'rustStorage', - rustFieldName = 'Label', - rustFieldSep = 'Delimiter', rustGeneric = 'Delimiter', rustIdentifier = 'Identifier', rustKeyword = 'Keyword', + rustLifetime = 'Label', rustModPath = 'Include', rustNoise = 'Delimiter', rustPanic = 'Exception', rustRepeat = 'Repeat', rustScopeDecl = 'Delimiter', rustStructure = 'Structure', + rustUnused = 'Special', --[[ 4.3.23. Scala ]] scalaKeyword = 'Keyword',