Compare commits

..
13 Commits
Author SHA1 Message Date
Ludovic Koenig dfa6b225e4 Update the README with the last information
A 'Visual' section has been added in order to display the color scheme.
Plus a the status of the project has also been added in it.
2019-10-02 13:37:41 +02:00
Ludovic Koenig 3b90b0e07f Merge the changes done for the release 1.0.0
This is the 1st public release!
2019-09-30 21:05:26 +02:00
Ludovic Koenig 4a4bd7a703 Update the CHANGELOG with the changes for 1.0.0
The README has a new 'Features' section.
2019-09-30 21:01:44 +02:00
Ludovic Koenig ee5d93ffb3 Add a feature section to the README
This section provides a listing of the main feature of the color scheme.

It closes #8 on Github.com.
2019-09-30 20:47:44 +02:00
Ludovic Koenig 8de8c10a0c Merge the changes done for the release 0.7.0 2019-09-30 20:33:33 +02:00
Ludovic Koenig 2c1649f6a2 Update the CHANGELOG for the release 0.7.0
It closes #8 on Github.com.
2019-09-30 20:29:19 +02:00
Ludovic Koenig ee4113ade8 Merge the changes done for JavaScript 2019-09-30 20:20:51 +02:00
Ludovic Koenig d807d25d97 Merge the changes done for the release 0.6.0 2019-09-30 20:13:58 +02:00
Ludovic Koenig 3048bf7c27 Update the CHANGELOG before releasing 0.6.0 2019-09-30 13:52:01 +02:00
Ludovic Koenig 6cc3d807bd Update the CHANGELOG with the last changes 2019-09-30 13:50:07 +02:00
Ludovic Koenig 23f87d4a54 Merge the changes done to Java enums
It closes #12 on Github.com.
2019-09-30 13:25:00 +02:00
Ludovic Koenig 7349154ab7 Update the CHANGELOG with the last changes 2019-09-30 13:21:24 +02:00
Ludovic Koenig 440d248052 Modify the highlight used by enum values
Enum values are now highlighted with the `Type` color.

In order to achieve it, the some enum syntax groups have been deleted to
make the process easier. Now all uppercase words are considered to be
enum values.
2019-09-30 13:17:46 +02:00
5 changed files with 48 additions and 6 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

+24 -2
View File
@@ -3,7 +3,21 @@
All notable changes to this project will be documented in this file. This
project adheres to [Semantic Versioning].
## [Unreleased]
## [1.0.0] - 2019-09-30
### Added
- Add a 'Features' section to the README to list and describe the main features
of the color scheme.
## [0.7.0] - 2019-09-30
### Added
- Add some support for the JavaScript language. It mainly deals with the
highlight of function/method calls and declarations.
## [0.6.0] - 2019-09-30
### Added
@@ -12,6 +26,13 @@ project adheres to [Semantic Versioning].
### Changed
- Changed the syntax groups used to match Java enum values:
+ `javaOdysseyEnumConstructor` has been removed.
+ `javaOdysseyEnumValue` does now match all uppercase words and it is linked
to the `Type` highlight group.
- Changed the color scheme for Ruby files:
+ Ruby booleans, 'nil', numbers and string delimitiers are using the `Normal`
@@ -222,7 +243,8 @@ project adheres to [Semantic Versioning].
+ Otherwise, a GUI version of Vim must be used.
[Unreleased]: https://github.com/ludokng/vim-odyssey/compare/0.5.0...HEAD
[0.7.0]: https://github.com/ludokng/vim-odyssey/compare/0.6.0...0.7.0
[0.6.0]: https://github.com/ludokng/vim-odyssey/compare/0.5.0...0.6.0
[0.5.0]: https://github.com/ludokng/vim-odyssey/compare/0.4.0...0.5.0
[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
+22
View File
@@ -4,6 +4,21 @@ Odyssey is a dark green colorscheme for Vim.
## Features
Odyssey is a dark theme for Vim which provides the following features:
+ A color scheme based on 12 colors.
+ Support for 256-color terminals, 24-bits color terminals and GUI.
+ A better syntax for the following programming languages: Go, Java,
JavaScript, Python, Ruby and Rust.
## Visuals
This is a little screenshot to see the color scheme in action:
![ProductDeleteButton](.assets/visual.png)
## Installation
### Downloading the plugin
@@ -60,4 +75,11 @@ Add the following to the `./vimrc` file.
Odyssey for Vim is distributed under the terms of the MIT license.
## Project Status
This project was a one-shot project. It is no more under development, but the
color scheme is completely useable and has been used during its development.
Some issues may be addressed if there are bugs. However existing features will
not be changed and no additional ones are planned.
[pathogen.vim]: https://github.com/tpope/vim-pathogen
+1 -2
View File
@@ -36,8 +36,6 @@ syntax match javaOdysseyType "\%(\<\u\w*\>\%(<\%(\u\w*\|,\|\s\|<\|>
syntax match javaOdysseyConstructor "\%(\<\u\w*\>\)\%(<\%(\u\w*\|,\|\s\|<\|>\)*>\)\=\%((\|\[\)"me=e-1 containedin=javaParenT,javaParenT1,javaParenT2 contains=javaOdysseyGeneric,javaOdysseySeparator
syntax match javaOdysseyMethod "\<\l\w*\>("me=e-1 containedin=javaParenT,javaParenT1,javaParenT2
syntax match javaOdysseyDotOperator "\<\u\w*\>\."me=e-1 containedin=javaParenT,javaParenT1,javaParenT2
syntax match javaOdysseyEnumValue "\<[A-Z][_A-Z0-9]\+\>" containedin=javaParenT,javaParenT1,javaParenT2,javaLabelRegion
syntax match javaOdysseyEnumConstructor "\<[A-Z][_A-Z0-9]\+\>("me=e-1 containedin=javaParenT,javaParenT1,javaParenT2
syntax match javaOdysseyCasting "(\<\u\w*\>\%(<\%(\u\w*\|,\|\s\|<\|>\)\+>\)\=\%(\[\]\)\=)"hs=s+1,he=e-1 containedin=javaParenT,javaParenT1,javaParenT2 contains=javaOdysseyGeneric,javaOdysseyArray,javaOdysseySeparator
syntax match javaOdysseyGetClass "\%(\<import\>\s\+\%(\w\+\.\)\+\)\@<=\%(\u\w*\)\%(\s*;\)\@="
syntax match javaOdysseyGetStaticMethod "\%(\<import\>\s\+\<static\>\s\+\%(\w\+\.\)\+\)\@<=\%(\l\w*\)\%(\s*;\)\@="
@@ -46,6 +44,7 @@ syntax match javaOdysseyExtends "\%(\<extends\>\s\+\)\@<=\%(\<\u\w*\>\
syntax match javaOdysseyImplements "\%(\<implements\>\s\+\)\@<=\%(\<\u\w*\>\)\%(<\%(\u\w*\|,\|\s\|<\|>\)*>\)\=" contains=javaOdysseyGeneric,javaOdysseySeparator
syntax match javaOdysseyMethodRef "::\<\l\w*\>"ms=s+2 containedin=javaParenT,javaParenT1,javaParenT2
syntax match javaOdysseyClassMethodRef "\<\u\w*\>::"me=e-2 containedin=javaParenT,javaParenT1,javaParenT2
syntax match javaOdysseyEnumValue "\<\u\u*\>" containedin=javaParenT,javaParenT1,javaParenT2
syntax region javaOdysseyComment start=+/\*+ end=+\*/+ transparent fold keepend
syntax region javaOdysseyImport start=/\%(^import\)\@<=\s.\+;/ end=+^\s*$+ transparent fold keepend
syntax region javaOdysseyImportStatic start=/\%(^import static\)\@<=\s.\+;/ end=+^\s*$+ transparent fold keepend
+1 -2
View File
@@ -286,8 +286,7 @@ call s:l( 'javaOdysseyMethod', 'Function')
call s:l( 'javaOdysseyThis', 'Special')
call s:l( 'javaOdysseyArrow', 'Operator')
call s:l( 'javaOdysseyLombok', 'Statement')
call s:l( 'javaOdysseyEnumValue', 'Constant')
call s:l('javaOdysseyEnumConstructor', 'Constant')
call s:l( 'javaOdysseyEnumValue', 'Type')
call s:l( 'javaOdysseyMethodRef', 'Function')
call s:l( 'javaOdysseyClassMethodRef', 'Type')