Add a list of attributes for the highlights

A script-scoped variable containing all the different attributes has
been initialized.

This variable is a list with the attibutes for the terminals and the
GUIs.
This commit is contained in:
Ludovic Koenig
2019-03-12 21:51:01 +01:00
parent 549c8c98b9
commit 159d1cbfcc
+10
View File
@@ -141,6 +141,16 @@ let s:colors.procedure = s:colorize(140, 45, 70)
let s:colors.keyword = s:colorize(180, 45, 70) let s:colors.keyword = s:colorize(180, 45, 70)
let s:colors.constant = s:colorize(210, 45, 70) let s:colors.constant = s:colorize(210, 45, 70)
" }}}
" Attributes {{{
let s:attributes = {}
let s:attributes['none'] = { 'cterm': 'none', 'gui': 'none' }
let s:attributes['reverse'] = { 'cterm': 'reverse', 'gui': 'reverse' }
let s:attributes['bold'] = { 'cterm': 'bold', 'gui': 'bold' }
let s:attributes['underline'] = { 'cterm': 'underline', 'gui': 'underline' }
" }}} " }}}
" Highlight Utilities {{{ " Highlight Utilities {{{