I'm using command highlight-symbol with default set of highlight-symbol-colors and set highlight-symbol-foreground-color as "white".
Then, some colors highlighted like yellow, cyan or SpringGreen1, difficult to read the words.
So, My idea is to make highlight-symbol-colors variable can set foreground color and background color as cons or just background color string(before way) matched foreground color as highlight-symbol-foreground-color variable.
I'm using command
highlight-symbol
with default set ofhighlight-symbol-colors
and sethighlight-symbol-foreground-color
as "white".Then, some colors highlighted like yellow, cyan or SpringGreen1, difficult to read the words.
So, My idea is to make
highlight-symbol-colors
variable can set foreground color and background color as cons or just background color string(before way) matched foreground color ashighlight-symbol-foreground-color
variable.Here is sample set of
highlight-symbol-colors
And I override
highlight-symbol-add-symbol
function.Above override function works find.
May be I can use faces but it has to many sequence(define face, face naming) and inconvenient customize.
But foreground and background cons way is very easy to customize and it also support before way (just list of background colors).
Thank you:)