From 2fe47aeed83eca916afa665f20d4d08554062818 Mon Sep 17 00:00:00 2001 From: Ludovic Koenig Date: Sun, 3 Mar 2019 22:50:41 +0100 Subject: [PATCH 1/7] 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. --- CHANGELOG.md | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..cf27c8c --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,39 @@ +# Changelog +All notable changes to this project will be documented in this file. This +project adheres to [Semantic Versioning]. + +## Unreleased + +### Added + +- Add the majority of the default highlight groups for the syntax and for the + editor. + +- Add the 12-color palette of the Odyssey color scheme. + + | Color | Main usage | Hue | Saturation | Value | + | ------- | ----------------- | --- | ---------- | ----- | + | #0c0f0f | VertSplit | 177 | 20 | 6 | + | #161c1c | Normal background | 177 | 20 | 11 | + | #1f2928 | CursorLine | 177 | 25 | 16 | + | #283635 | Folded | 177 | 25 | 21 | + | #808c8c | LineNr | 177 | 9 | 55 | + | #aabfbe | Normal foreground | 177 | 11 | 75 | + | #62b3a5 | Keyword | 170 | 45 | 70 | + | #b36262 | ErrorMsg | 0 | 45 | 70 | + | #b3a862 | WarningMsg | 30 | 45 | 70 | + | #62b37d | Function | 140 | 45 | 70 | + | #6298b3 | Type | 200 | 45 | 70 | + | #6270b3 | Constant | 230 | 45 | 70 | + +- Add the prerequisites to use the colorscheme. + + + When Vim is used in a terminal, the 'termguicolors' feature must available + and it must be set on. In other words, the color scheme must be used as + followed. + + + A ISO-8613-3 compatible terminal is required. + + + Otherwise, a GUI version of Vim must be used. + +[Semantic Versioning]: https://semver.org/spec/v2.0.0.html From e4bbb199f06e10bb83f9c51acfb9389a59c8ad97 Mon Sep 17 00:00:00 2001 From: Ludovic Koenig Date: Sun, 3 Mar 2019 22:55:56 +0100 Subject: [PATCH 2/7] 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. --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cf27c8c..bfb4a7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,11 @@ project adheres to [Semantic Versioning]. and it must be set on. In other words, the color scheme must be used as followed. + ```vim + set termguicolors + colorscheme odyssey + ``` + + A ISO-8613-3 compatible terminal is required. + Otherwise, a GUI version of Vim must be used. From 3edb687d37f7908e99eb417a5ecf91b075cf497b Mon Sep 17 00:00:00 2001 From: Ludovic Koenig Date: Mon, 4 Mar 2019 07:38:23 +0100 Subject: [PATCH 3/7] Add a clarification in the CHANGELOG.md In fact, the default highlight groups are considered to be the ones used by all syntax languages. --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bfb4a7e..90b0376 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,8 @@ project adheres to [Semantic Versioning]. ### Added - Add the majority of the default highlight groups for the syntax and for the - editor. + editor. The default highlight groups are the ones used for all syntax + languages. - Add the 12-color palette of the Odyssey color scheme. From dfaa73f66ade9428cad6f64a6f48ae5d9dfcedda Mon Sep 17 00:00:00 2001 From: Ludovic Koenig Date: Mon, 4 Mar 2019 08:09:02 +0100 Subject: [PATCH 4/7] 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. --- .gitignore | 1 - 1 file changed, 1 deletion(-) delete mode 100644 .gitignore diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 1377554..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.swp From cb724771c1f9f90237e81c61a6db5126e278cf47 Mon Sep 17 00:00:00 2001 From: Ludovic Koenig Date: Mon, 4 Mar 2019 19:28:47 +0100 Subject: [PATCH 5/7] 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). --- colors/odyssey.vim | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/colors/odyssey.vim b/colors/odyssey.vim index 22479f6..756a9f3 100644 --- a/colors/odyssey.vim +++ b/colors/odyssey.vim @@ -14,7 +14,6 @@ " " Maintainer: Ludovic Koenig " License: MIT -" " Initialisation {{{ if !(has('termguicolors') && &termguicolors) && !has('gui_running') @@ -165,8 +164,8 @@ call s:HL( 'ColorColumn', 'foldedline') call s:HL( 'StatusLineTerm', 'cursorline', 'foreground') call s:HL('StatusLineTermNC', 'beyondback', 'linenumber') call s:HL( 'MatchParen', 'linenumber', 'background') -"call s:HL( 'ToolbarLine', 'background', 'linenumber') " TODO Use a GUI -"call s:HL( 'ToolbarButton', 'background', 'linenumber') " TODO Use a GUI +call s:HL( 'ToolbarLine', 'linenumber', 'linenumber') +call s:HL( 'ToolbarButton', 'linenumber', 'background') call s:HL( 'Comment', 'background', 'linenumber') call s:HL( 'Constant', 'background', 'constant') call s:HL( 'Special', 'background', 'warning') From 07fc4b5aac7592a764e3a0fdbe9988d75580292e Mon Sep 17 00:00:00 2001 From: Ludovic Koenig Date: Mon, 4 Mar 2019 21:16:48 +0100 Subject: [PATCH 6/7] 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. --- CHANGELOG.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 90b0376..e179fe8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,24 +2,23 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning]. -## Unreleased +## 0.1.0 - 2019-03-04 ### Added -- Add the majority of the default highlight groups for the syntax and for the - editor. The default highlight groups are the ones used for all syntax - languages. +- Add the all of the default highlight groups for the syntax and for the + editor. - Add the 12-color palette of the Odyssey color scheme. | Color | Main usage | Hue | Saturation | Value | | ------- | ----------------- | --- | ---------- | ----- | | #0c0f0f | VertSplit | 177 | 20 | 6 | - | #161c1c | Normal background | 177 | 20 | 11 | + | #161c1c | 'background' | 177 | 20 | 11 | | #1f2928 | CursorLine | 177 | 25 | 16 | | #283635 | Folded | 177 | 25 | 21 | | #808c8c | LineNr | 177 | 9 | 55 | - | #aabfbe | Normal foreground | 177 | 11 | 75 | + | #aabfbe | 'foreground' | 177 | 11 | 75 | | #62b3a5 | Keyword | 170 | 45 | 70 | | #b36262 | ErrorMsg | 0 | 45 | 70 | | #b3a862 | WarningMsg | 30 | 45 | 70 | From 740a0ffbb717b0843a1a67bf690e537f93590c83 Mon Sep 17 00:00:00 2001 From: Ludovic Koenig Date: Mon, 4 Mar 2019 21:21:28 +0100 Subject: [PATCH 7/7] Add the release number in the script The release is now part of the script header, that is the long comment at the beginning. --- colors/odyssey.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/colors/odyssey.vim b/colors/odyssey.vim index 756a9f3..1350763 100644 --- a/colors/odyssey.vim +++ b/colors/odyssey.vim @@ -14,6 +14,7 @@ " " Maintainer: Ludovic Koenig " License: MIT +" Release: 0.1.0 " Initialisation {{{ if !(has('termguicolors') && &termguicolors) && !has('gui_running')