From 9a095287931071fe8c17753c854e88ac495f0233 Mon Sep 17 00:00:00 2001 From: Ludovic Koenig Date: Wed, 1 May 2019 09:19:06 +0200 Subject: [PATCH 1/5] Remove the release number from the comments It will be very painful to maintain if some new files are going to be added. --- colors/odyssey.vim | 1 - 1 file changed, 1 deletion(-) diff --git a/colors/odyssey.vim b/colors/odyssey.vim index f78a1f8..80ba422 100644 --- a/colors/odyssey.vim +++ b/colors/odyssey.vim @@ -14,7 +14,6 @@ " " Maintainer: Ludovic Koenig " License: MIT -" Release: 0.3.0 " " Prelude {{{ From 281a5ce07c73199ffb2a07e7e220845af6cc9e00 Mon Sep 17 00:00:00 2001 From: Ludovic Koenig Date: Wed, 1 May 2019 09:21:59 +0200 Subject: [PATCH 2/5] Fix the header of the Java syntax file --- after/syntax/java.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/after/syntax/java.vim b/after/syntax/java.vim index 09e61c4..c51ec8f 100644 --- a/after/syntax/java.vim +++ b/after/syntax/java.vim @@ -3,14 +3,13 @@ " / // __ `/| | / // __ `/ / /_ / __ \ / ___/ " / // /_/ / | |/ // /_/ / / __// /_/ // / " __/ / \__,_/ |___/ \__,_/ /_/ \____//_/ -" /___/ __ +" /___/ __ " ____ ____/ /__ __ _____ _____ ___ __ __ " / __ \ / __ // / / // ___// ___// _ \ / / / / " / /_/ // /_/ // /_/ /(__ )(__ )/ __// /_/ / " \____/ \__,_/ \__, //____//____/ \___/ \__, / " /____/ /____/ " -" Write once, run anywhere " " Maintainer: Ludovic Koenig " License: MIT From 3226df63820fda367380f0a2f471a3221f09be41 Mon Sep 17 00:00:00 2001 From: Ludovic Koenig Date: Thu, 1 Aug 2019 19:43:17 +0200 Subject: [PATCH 3/5] Modify the CHANGELOG for uniformity In the table representing the changes for the release 0.2.0, some cells of it had their value not strikethrough. It has now been fixed. --- CHANGELOG.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0292b86..7d6a9f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -80,10 +80,10 @@ project adheres to [Semantic Versioning]. The violet color is removed, and the yellow-green color is added. - | Color | Name | Main usage | Hue | Saturation | Value | - | ----------- | ---------- | ----------------- | --- | ---------- | ----- | - | #add590 | yellow | Constant | 95 | 45 | 70 | - | ~~#6270b3~~ | ~~violet~~ | Constant | 230 | 45 | 70 | + | Color | Name | Main usage | Hue | Saturation | Value | + | ----------- | ---------- | ----------------- | ----- | ---------- | ----- | + | #add590 | yellow | Constant | 95 | 45 | 70 | + | ~~#6270b3~~ | ~~violet~~ | ~~Constant~~ |~~230~~| ~~45~~ | ~~70~~| - The highlight for MatchParen has been modified. In fact, when the cursor is over a parenthese, a bracket, a brace, and so on, the matching element turns From a101374a4694ebcbd5f68a874ebfe7916dec45b5 Mon Sep 17 00:00:00 2001 From: Ludovic Koenig Date: Fri, 2 Aug 2019 23:08:54 +0200 Subject: [PATCH 4/5] Modify the CHANGELOG.md file It adds more details about the new features, and it tries to use bullet points instead of too long sentences. --- CHANGELOG.md | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d6a9f1..81a295a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,19 +3,31 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning]. -## [Unreleased] +## [0.4.0] - 2019-08-02 ### Added -- Supports for the Java programming language have been added. The highlights - are achieved by reusing some existing pieces of syntax and by creating new - ones. Existing syntax groups have been remapped to other default syntax - groups and some new ones have been created for the occassion. +- Supports for the **Java** programming language have been added. -- Supports for the Ruby programming language have been added. Some highlights - of the existing syntax have been modified to better fit the color scheme. In - other words, some existing Ruby syntax groups have been linked to other - default syntax groups. + + Syntax for the 'import' and 'import static' statements have been added. + + + Syntax rules for the type and classe names have been added. Everything that + matches the regexp "\u\w*" is globally considered to be a type or a class + name. + + + Syntax rules for the enum values have been added. Everything that matches + the regexp "\u\w\+" is globally considered to be an enum value or a + constant. It must be noted that "\u" will be highlight as a type because it + is mostly used for type parametrization in generics. + +- Supports for the **Ruby** programming language have been added. + + + 'require', 'def' and 'class' are highlighted as statements. + + + Class and instance variables are highlighted in orange. + + + String delimiters are highlighted as constants and string interpolation + delimiters are highlighted as functions. ### Changed @@ -131,7 +143,7 @@ project adheres to [Semantic Versioning]. + Otherwise, a GUI version of Vim must be used. -[Unreleased]: https://github.com/ludokng/vim-odyssey/compare/0.3.0...HEAD +[0.4.0]: https://github.com/ludokng/vim-odyssey/compare/0.3.0...0.4.0 [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 ea44266bf7edb8e5df70e49a561c878fd064b601 Mon Sep 17 00:00:00 2001 From: Ludovic Koenig Date: Fri, 2 Aug 2019 23:26:12 +0200 Subject: [PATCH 5/5] Update the headers of the scripts It reintroduces the release number, plus it adds a 'since' release number. It also provides some explanations about the 'after/syntax/java.vim' file. --- after/syntax/java.vim | 7 +++++++ colors/odyssey.vim | 2 ++ 2 files changed, 9 insertions(+) diff --git a/after/syntax/java.vim b/after/syntax/java.vim index c51ec8f..5ec3277 100644 --- a/after/syntax/java.vim +++ b/after/syntax/java.vim @@ -10,8 +10,15 @@ " \____/ \__,_/ \__, //____//____/ \___/ \__, / " /____/ /____/ " +" Note: This script aims at providing some new syntax element for Java. It +" therefore declares syntax elements for: +" - Type and class names, +" - Enum values, +" - Import statements ('import' and 'import static'). " " Maintainer: Ludovic Koenig +" Version: 0.4.0 +" Since: 0.4.0 " License: MIT " " Java Syntax {{{ diff --git a/colors/odyssey.vim b/colors/odyssey.vim index 80ba422..07b68a0 100644 --- a/colors/odyssey.vim +++ b/colors/odyssey.vim @@ -13,6 +13,8 @@ " Odyssey. " " Maintainer: Ludovic Koenig +" Version: 0.4.0 +" Since: 0.1.0 " License: MIT " " Prelude {{{