From be9d13a1857243e86b6caf922d6d7ac765fb86aa Mon Sep 17 00:00:00 2001 From: Iron-E Date: Fri, 26 Feb 2021 18:23:46 -0500 Subject: [PATCH] feat(colors): better scss defaults --- colors/highlite.vim | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/colors/highlite.vim b/colors/highlite.vim index adf0b24..94c1586 100644 --- a/colors/highlite.vim +++ b/colors/highlite.vim @@ -456,13 +456,18 @@ local highlight_groups = { cssTagName = 'Structure', cssUnitDecorators = 'Type', scssAmpersand = 'Special', - scssAttribute = 'Label', + scssAttribute = 'Noise', scssBoolean = 'Boolean', scssDefault = 'Keyword', - scssElse = 'PreCondit', + scssElse = 'scssIf', + scssMixinName = function(self) + local super = self.cssClassName + return {bg=super.bg, fg=super.fg, style='Italic'} + end, scssIf = 'PreCondit', scssInclude = 'Include', - scssSelectorChar = 'Operator', + scssSelectorChar = 'Delimiter', + scssDefinition = 'PreProc', scssSelectorName = 'Identifier', scssVariable = 'Define', scssVariableAssignment = 'Operator', @@ -813,8 +818,8 @@ local highlight_groups = { BufferVisibleMod = {fg=white, bg=gray_darker, style='italic'}, BufferVisibleSign = 'BufferVisible', BufferVisibleTarget = function(self) - local parent = self.BufferVisibleMod - return {fg=parent.fg, bg=parent.bg, style='bold'} + local super = self.BufferVisibleMod + return {fg=super.fg, bg=super.bg, style='bold'} end, --[[ 4.4.10. vim-sandwhich ]]