From 159d1cbfcce844217e445f1d580b48a49a0dedd9 Mon Sep 17 00:00:00 2001 From: Ludovic Koenig Date: Tue, 12 Mar 2019 21:51:01 +0100 Subject: [PATCH] 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. --- colors/odyssey.vim | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/colors/odyssey.vim b/colors/odyssey.vim index 2866a48..3f400a6 100644 --- a/colors/odyssey.vim +++ b/colors/odyssey.vim @@ -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.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 {{{