From 5178b941de11aa00b57dce7eb11980c9a3b42765 Mon Sep 17 00:00:00 2001 From: Ludovic Koenig Date: Sat, 16 Mar 2019 13:02:43 +0100 Subject: [PATCH 1/6] Change section names in CHANGELOG.md The 'Syntax' section is renamed 'Default Syntax'. Then, if a language or a plugin is supported, its associated section will be named ' Syntax'. --- colors/odyssey.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colors/odyssey.vim b/colors/odyssey.vim index 61f9524..cc53606 100644 --- a/colors/odyssey.vim +++ b/colors/odyssey.vim @@ -231,7 +231,7 @@ call s:HL( 'ToolbarLine', 'linenumber', 'linenumber', 'none') call s:HL( 'ToolbarButton', 'background', 'linenumber', 'reverse') " }}} -" Syntax {{{ +" Default Syntax {{{ call s:HL( 'Comment', 'background', 'linenumber', 'none') call s:HL( 'Constant', 'background', 'constant', 'none') From d387a42bbe96bba6676cac504d5a9e710b287083 Mon Sep 17 00:00:00 2001 From: Ludovic Koenig Date: Sat, 16 Mar 2019 13:06:18 +0100 Subject: [PATCH 2/6] Change the attribute of Type from bold to none A last minute change before the new release: Types are back to having no attribute. In fact, it is expected to set all the attributes in the next release (0.4.0), so we don't want to go head of ourselves. --- CHANGELOG.md | 2 +- colors/odyssey.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a2474ab..0e2c2ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ project adheres to [Semantic Versioning]. ### Changed -- The `ErrorMsg`, `WarningMsg`, `Type`, `Error`, `Todo` syntax groups are now +- The `ErrorMsg`, `WarningMsg`, `Error`, `Todo` syntax groups are now bold. - The color name yellow for the constants has been modified and is now used for diff --git a/colors/odyssey.vim b/colors/odyssey.vim index cc53606..50b68d2 100644 --- a/colors/odyssey.vim +++ b/colors/odyssey.vim @@ -239,7 +239,7 @@ call s:HL( 'Special', 'background', 'warning', 'none') call s:HL( 'Identifier', 'background', 'procedure', 'none') call s:HL( 'Statement', 'background', 'keyword', 'none') call s:HL( 'Preproc', 'background', 'warning', 'none') -call s:HL( 'Type', 'background', 'type', 'bold') +call s:HL( 'Type', 'background', 'type', 'none') call s:HL( 'Underlined', 'background', 'foreground', 'underline') call s:HL( 'Ignore', 'background', 'background', 'none') call s:HL( 'Error', 'background', 'error', 'bold') From 72f0154d375bf0b88bef4e52d319450f20ac3cf0 Mon Sep 17 00:00:00 2001 From: Ludovic Koenig Date: Sat, 16 Mar 2019 13:09:23 +0100 Subject: [PATCH 3/6] Add more information in CHANGELOG.md Some extra explantions have been added in the section '0.1.0' of the CHANGELOG.md file. --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e2c2ca..ee72d7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -74,7 +74,7 @@ project adheres to [Semantic Versioning]. ### Added - Add the all of the default highlight groups for the syntax and for the - editor. + editor. Plus their respective attributes are also set. - Add the 12-color palette of the Odyssey color scheme. From 424e45c3289161b1476b1eeb5115dab8e68cea88 Mon Sep 17 00:00:00 2001 From: Ludovic Koenig Date: Sat, 16 Mar 2019 13:14:16 +0100 Subject: [PATCH 4/6] Modify a variable name In the function s:HL, the variable 'hi' is renamed 'l:hi' everywhere. --- colors/odyssey.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/colors/odyssey.vim b/colors/odyssey.vim index 50b68d2..1751476 100644 --- a/colors/odyssey.vim +++ b/colors/odyssey.vim @@ -159,7 +159,7 @@ function! s:HL(group, bg, fg, attr) if a:bg != 'none' let l:bg = get(s:colors, a:bg) - let hi .= 'guibg=#'. l:bg['gui'] . ' ' . 'ctermbg=' . l:bg['cterm'] + let l:hi .= 'guibg=#'. l:bg['gui'] . ' ' . 'ctermbg=' . l:bg['cterm'] endif if a:fg != 'none' @@ -174,7 +174,7 @@ function! s:HL(group, bg, fg, attr) let l:hi .= ' gui=none cterm=none' endif - execute hi + execute l:hi endfunction " }}} From e5af8f9a1c24f3a0f62bea70e51e95598fd7a02a Mon Sep 17 00:00:00 2001 From: Ludovic Koenig Date: Sat, 16 Mar 2019 13:15:24 +0100 Subject: [PATCH 5/6] Bump the CHANGELOG to release 0.3.0 --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ee72d7c..f179147 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning]. -## [Unreleased] +## [0.3.0] - 2019-03-16 ### Changed @@ -108,6 +108,6 @@ project adheres to [Semantic Versioning]. + Otherwise, a GUI version of Vim must be used. -[Unreleased]: https://github.com/ludokng/vim-odyssey/compare/0.2.0...HEAD +[0.3.0]: https://github.com/ludokng/vim-odyssey/compare/0.2.0...0.3.0 [0.2.0]: https://github.com/ludokng/vim-odyssey/compare/0.1.0...0.2.0 [Semantic Versioning]: https://semver.org/spec/v2.0.0.html From f8413a5a6daee11989178208081ba57ca893f925 Mon Sep 17 00:00:00 2001 From: Ludovic Koenig Date: Sat, 16 Mar 2019 13:15:59 +0100 Subject: [PATCH 6/6] Bump the script release number to 0.3.0 --- colors/odyssey.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colors/odyssey.vim b/colors/odyssey.vim index 1751476..ab60f02 100644 --- a/colors/odyssey.vim +++ b/colors/odyssey.vim @@ -14,7 +14,7 @@ " " Maintainer: Ludovic Koenig " License: MIT -" Release: 0.2.0 +" Release: 0.3.0 " " Prelude {{{