diff --git a/CHANGELOG.md b/CHANGELOG.md index 0292b86..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 @@ -80,10 +92,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 @@ -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 diff --git a/after/syntax/java.vim b/after/syntax/java.vim index 09e61c4..5ec3277 100644 --- a/after/syntax/java.vim +++ b/after/syntax/java.vim @@ -3,16 +3,22 @@ " / // __ `/| | / // __ `/ / /_ / __ \ / ___/ " / // /_/ / | |/ // /_/ / / __// /_/ // / " __/ / \__,_/ |___/ \__,_/ /_/ \____//_/ -" /___/ __ +" /___/ __ " ____ ____/ /__ __ _____ _____ ___ __ __ " / __ \ / __ // / / // ___// ___// _ \ / / / / " / /_/ // /_/ // /_/ /(__ )(__ )/ __// /_/ / " \____/ \__,_/ \__, //____//____/ \___/ \__, / " /____/ /____/ " -" Write once, run anywhere +" 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 f78a1f8..07b68a0 100644 --- a/colors/odyssey.vim +++ b/colors/odyssey.vim @@ -13,8 +13,9 @@ " Odyssey. " " Maintainer: Ludovic Koenig +" Version: 0.4.0 +" Since: 0.1.0 " License: MIT -" Release: 0.3.0 " " Prelude {{{