The variable s:colors is now a dictionary that maps the keys 'gui' and
'term' to their associated value. In one case, it is an hexadecimal
string and, in the other, it is a number between 0 and 255.
The true color and its 8-bit association are managed in the same tuples.
In other words, s:colors is now an array of tuples.
Rigth now, I think the mapping between the true and the 8-bit colors can
be improved. I have just used an approximation script I found on the
internet (URL too long).
The two groups were ToolbarLine and ToolbarButton. I spent some time
trying what those are until I found 'WinBar' (Not sure I figure
everything out right now).
The .gitignore file was only containing the line '*.swp', which are
files related to Vim. Given that it focuses to much on a given editor
and not on files or repertories of the project, the line has been
removed.
In the same time, the entire file is also removed given that it is
empty.
A code snippet demonstrating how to use the color scheme was missing. It
has been added under the section that describes how to configure the
color scheme for terminals.
The Changelog.md contains the feature of the first releases. Basically,
it just states out the required configuration to use the color scheme,
and the colors that are used.
The initialisation step consists in cleaning the highlights and the
syntax from previous schemes, and setting the background accordingly.
Plus, the variables used within the script are also initialized.
It must be noted that the colorscheme is only defined for the GUI and
for versions of Vim that has the 'termguicolors' option set. In addition
the version must be greater than '580'.
The colors of the scrollbar and its thumb which are both associated to
the Pmenu have been modified after using it on an example.
The scrollbar has now the same color as the main part of the PMenu, and
the color of its thumb is the one of the 'linenumber'.
The README.md contains the instructions to install Odyssey as a Vim
plugins. The other sections may not have that much importance (simple
introduction and license section).
Almost all the default highligting groups have been added. Those which
remain commented are related to the GUI, and they will be added later.
The color of some of the already existing groups has changed, but it has
not been logged because nothing is fixed right now.
The function s:HL has also been change a little bit in order to support
an optional third argument to provide the value of 'gui'.
It adds/rewrites colors to some default highlights groups like ErrorMsg
or WarningMsg or Title. The intention is to cover all the default groups
before, maybe, trying to cover 'filetype' related groups.
It must be noted that the color named error and warning are used in the
interface, but, only to put the emphasize on warning or error messages.
All the default highlight groups are present, but, now, most of them are
commented.
Each time a decision is made on what color should be used, the
corresponding groups will be uncommented.
Firstly, an error has been corrected in the utility function named
hsv2rgb.
Secondly, some of the more useful highlight groups have been processed,
but everything may still change.
The Odyssey colorscheme is based on a 12-color palette, and the main
ambiance is represented by a dark shade of green whose origins come from
the light sea green color.
Two new helper functions have added to help in the setup of the
colorscheme.
- hsv2rgb: This 1st function generate the RGB hexadecimal string
associated to a color given its HSV triplet.
- HL: This 2nd function is a wrapper for the 'highlight' command.