CSS/SCSS highlighting added

This commit is contained in:
ManjaroOne666 2017-09-13 14:21:56 +01:00
parent 298439e98f
commit 39ecaab069
1 changed files with 80 additions and 9 deletions

View File

@ -13,7 +13,7 @@ let colors_name = "customred256"
hi Normal guifg=#c0c0c0 guibg=#000040 ctermfg=lightyellow ctermbg=16
hi Normal guifg=#c0c0c0 guibg=#000040 ctermfg=240 ctermbg=16
hi ErrorMsg guifg=#ffffff guibg=#287eff ctermfg=232 ctermbg=250
hi Visual guifg=#8080ff guibg=fg gui=reverse ctermfg=lightblue ctermbg=fg cterm=reverse
hi VisualNOS guifg=#8080ff guibg=fg gui=reverse,underline ctermfg=lightblue ctermbg=fg cterm=reverse,underline
@ -84,6 +84,9 @@ hi CRNormal ctermfg=166
hi CRBright ctermfg=208
hi CRDark ctermfg=160
hi CRNoise ctermfg=242
hi CRNoiseBright ctermfg=246
hi CRNoiseBrighter ctermfg=248
hi CRComment ctermfg=240
hi CRCommentBright ctermfg=244
@ -93,33 +96,99 @@ hi TestTest ctermfg=27
" HTML colours
hi CRHtmlBase ctermfg=26
hi CRHtmlBase ctermfg=27
hi CRHtmlBaseBright ctermfg=33
hi CRHtmlbaseDark ctermfg=20
hi CRHtmlbaseDark ctermfg=21
hi CRHtmlDark ctermfg=18
hi CRHtmlBright ctermfg=51
hi CRHtmlBrightDark ctermfg=45
hi CRHtmlSpecial ctermfg=69
hi CRHtmlString ctermfg=63
" general
hi! def link Delimiter CRCommentDark
" CSS colours
hi CRCssBase ctermfg=28
hi CRCssBaseBright ctermfg=40
hi CRCssBaseDark ctermfg=22
hi CRCssAlt ctermfg=29
hi CRCssAltBright ctermfg=41
hi CRCssSelector ctermfg=85
hi CRCssSelectorBright ctermfg=194
hi CRCssSelectorDark ctermfg=72
" general definitions
hi! def link Conditional CRNoiseBrighter
hi! def link Delimiter CRNoise
hi Operator ctermfg=88
" Comments
" Comment definitions
hi! def link Comment CRComment
hi! def link SpecialComment CRCommentBright
hi! def link preProc CRCommentBright
" CSS
" SCSS definitions
hi! def link scssParamaters CRNoise
hi! def link scssVariableAssignment CRNoise
hi! def link scssVariableValue CRNoise
hi! def link scssBooleanOp Conditional
hi! def link scssCondition CRCssDark
hi! def link scssImport CRNoise
hi! def link scssAtRoot CRNoise
hi! def link scssDefinition CRNoise
hi! def link scssParameterList CRCssBaseDark
hi! def link scssAttribute CRCssBase
hi! def link scssMixin CRNoise
hi! def link scssMixinParams CRNoise
hi! def link scssAmpersand CRCssSelector
hi! def link scssSelector CRCssBase
hi! def link scssSelectorName CRCssSelector
hi! def link scssSelectorChar CRCssSelectorBright
hi! def link scssMixinName CRCssAltBright
hi! def link scssFunctionName CRCssSelectorDark
hi! def link scssVariable CRCssBaseBright
hi! def link scssProperty CRCssAlt
hi! def link CRScssMediaKeyword CRNoiseBrighter
hi! def link scssForKeyword CRScssMediaKeyword
hi! def link scssReturn CRScssMediaKeyword
hi! def link scssIf CRScssMediaKeyword
hi! def link scssElse CRScssMediaKeyword
" CSS definitions
hi! def link cssNoise CRNoise
hi! def link cssBraces CRNoise
" HTML
hi! def link cssMediaKeyword CRScssMediaKeyword
hi! def link cssKeyFrameSelector scssSelectorName
hi! def link cssStringQ CRCssBaseDark
hi! def link cssStringQQ cssStringQ
hi! def link cssTagName CRCssSelectorBright
hi! def link cssProp CRCssAlt
hi! def link cssAttr scssAttribute
hi! def link cssPseudoClassId CRCssSelectorDark
hi! def link cssMediaType CRCssSelectorDark
hi! def link CRCssValue CRCssBase
hi! def link cssColor CRCssBaseBright
hi! def link cssValueLength CRCssValue
hi! def link cssValueTime CRCssValue
hi! def link cssValueNumber CRCssValue
hi! def link cssValueAngle CRCssValue
hi! def link cssFunctionName scssFunctionName
hi! def link cssUnitDecorators CRCssBaseDark
" HTML definitions
hi! def link htmlTitle CRHtmlBright
hi! def link htmlTag Delimiter
hi! def link htmlEndTag htmlTag
@ -131,6 +200,8 @@ hi! def link htmlLink CRHtmlBrightDark
hi! def link htmlH1 CRHtmlBright
" sidebar colours
hi BarH1 ctermfg=255 ctermbg=none
hi BarH2 ctermfg=250 ctermbg=none