ref(colors): improve rust highlights

1. Remove unused highlights.
2. Add `rustUnused` definition.
3. Change `rustAssert` default.
This commit is contained in:
Iron-E 2021-02-02 15:31:49 -05:00
parent b0bca9edd3
commit 47fae28325
No known key found for this signature in database
GPG Key ID: 19B71B7B7B021D22
1 changed files with 3 additions and 2 deletions

View File

@ -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',