Commit Graph
73 Commits
Author SHA1 Message Date
Ludovic Koenig 07fc4b5aac Modify the CHANGELOG.md for release 0.1.0
The section 0.1.0 has been created and it contains the features added
for this release.
2019-03-04 21:16:48 +01:00
Ludovic Koenig 4710180868 Add the support for 8-bit colors
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).
2019-03-04 21:03:37 +01:00
Ludovic Koenig cb724771c1 Add the two remaining highlight groups
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).
2019-03-04 19:28:47 +01:00
Ludovic Koenig dfaa73f66a Remove the .gitignore file
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.
2019-03-04 08:09:02 +01:00
Ludovic Koenig 3edb687d37 Add a clarification in the CHANGELOG.md
In fact, the default highlight groups are considered to be the ones used
by all syntax languages.
2019-03-04 07:38:23 +01:00
Ludovic Koenig e4bbb199f0 Add a missing code snippet in the CHANGELOG
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.
2019-03-03 22:55:56 +01:00
Ludovic Koenig 2fe47aeed8 Add the CHANGELOG.md file
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.
2019-03-03 22:50:41 +01:00
Ludovic Koenig 29f23ade3f Incorporate the initialisation step
From now on, the user will have to set the 'termguicolors' option, if
he/she is not using the GUI. Plus the version of Vim must be greater
than '580'.
2019-03-03 15:23:34 +01:00
Ludovic Koenig 1afe538444 Add the initialisation step
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'.
2019-03-03 14:53:31 +01:00
Ludovic Koenig 72bec72b64 Remove the setting of termguicolors
A check of the setting of termguicolors will be added, but from now on,
the user will have to set this option.
2019-03-03 00:50:36 +01:00
Ludovic Koenig a8fe6bdde2 Modify the colors of the PMenu
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'.
2019-03-02 19:15:08 +01:00
Ludovic Koenig 3982a01d5d Add a README.md file
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).
2019-03-02 18:46:36 +01:00
Ludovic Koenig 104e2900a9 Add almost all the default highlighting groups
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'.
2019-03-02 12:33:45 +01:00
Ludovic Koenig 90fa9bd577 Add some colors to the default highlight groups
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.
2019-03-01 10:03:20 +01:00
Ludovic Koenig 8c873baa73 Modify the foreground color
The brightness of the foreground color has been reduced in order to have
a smaller contrast with the linenumber color (comments, etc...).
2019-02-28 19:13:05 +01:00
Ludovic Koenig 7a0ba96624 Add all default highlight groups as commentaries
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.
2019-02-28 19:08:59 +01:00
Ludovic Koenig 824af098d3 Reorganize the default highlight groups
It sorts some of the default highlight, and it adds some new ones in
order to begin to have a nice interface.
2019-02-27 22:32:52 +01:00
Ludovic Koenig f9200b765a Highlight some of the default highlight groups
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.
2019-02-27 20:32:53 +01:00
Ludovic Koenig 4d4868ba92 Add the 12-color palette
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.
2019-02-27 13:19:55 +01:00
Ludovic Koenig 8374621a35 Add some utility fonctions
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.
2019-02-27 12:58:14 +01:00
Ludovic Koenig 0eff4325b2 Add a .gitignore file
The .gitignore file is only used right now to ignore .swp files.
2019-02-27 12:51:04 +01:00
Ludovic Koenig 382d4c6583 Add the boilerplate of the colorscheme
This boilerplate is a unique file named odyssey.vim which, right now,
does only cotain commentaries.
2019-02-26 22:16:54 +01:00
Ludovic Koenig 304c946fb4 Add the license of the project
The project is developped under the MIT license.
2019-02-26 22:16:07 +01:00