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', rubyInterpolationDelimiter = 'Delimiter',
--[[ 4.3.22. Rust ]] --[[ 4.3.22. Rust ]]
rustAssert = 'Debug',
rustConstraint = 'Operator', rustConstraint = 'Operator',
rustDynKeyword = 'rustStorage', rustDynKeyword = 'rustStorage',
rustFieldName = 'Label',
rustFieldSep = 'Delimiter',
rustGeneric = 'Delimiter', rustGeneric = 'Delimiter',
rustIdentifier = 'Identifier', rustIdentifier = 'Identifier',
rustKeyword = 'Keyword', rustKeyword = 'Keyword',
rustLifetime = 'Label',
rustModPath = 'Include', rustModPath = 'Include',
rustNoise = 'Delimiter', rustNoise = 'Delimiter',
rustPanic = 'Exception', rustPanic = 'Exception',
rustRepeat = 'Repeat', rustRepeat = 'Repeat',
rustScopeDecl = 'Delimiter', rustScopeDecl = 'Delimiter',
rustStructure = 'Structure', rustStructure = 'Structure',
rustUnused = 'Special',
--[[ 4.3.23. Scala ]] --[[ 4.3.23. Scala ]]
scalaKeyword = 'Keyword', scalaKeyword = 'Keyword',