Compare commits
13
Commits
6751a88cae
...
dfa6b225e4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dfa6b225e4 | ||
|
|
3b90b0e07f | ||
|
|
4a4bd7a703 | ||
|
|
ee5d93ffb3 | ||
|
|
8de8c10a0c | ||
|
|
2c1649f6a2 | ||
|
|
ee4113ade8 | ||
|
|
d807d25d97 | ||
|
|
3048bf7c27 | ||
|
|
6cc3d807bd | ||
|
|
23f87d4a54 | ||
|
|
7349154ab7 | ||
|
|
440d248052 |
Binary file not shown.
|
After Width: | Height: | Size: 62 KiB |
+24
-2
@@ -3,7 +3,21 @@
|
|||||||
All notable changes to this project will be documented in this file. This
|
All notable changes to this project will be documented in this file. This
|
||||||
project adheres to [Semantic Versioning].
|
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
|
### Added
|
||||||
|
|
||||||
@@ -12,6 +26,13 @@ project adheres to [Semantic Versioning].
|
|||||||
|
|
||||||
### Changed
|
### 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:
|
- Changed the color scheme for Ruby files:
|
||||||
|
|
||||||
+ Ruby booleans, 'nil', numbers and string delimitiers are using the `Normal`
|
+ 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.
|
+ 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.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.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.3.0]: https://github.com/ludokng/vim-odyssey/compare/0.2.0...0.3.0
|
||||||
|
|||||||
@@ -4,6 +4,21 @@ Odyssey is a dark green colorscheme for Vim.
|
|||||||
|
|
||||||
## Features
|
## 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:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
### Downloading the plugin
|
### 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.
|
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
|
[pathogen.vim]: https://github.com/tpope/vim-pathogen
|
||||||
|
|||||||
@@ -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 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 javaOdysseyMethod "\<\l\w*\>("me=e-1 containedin=javaParenT,javaParenT1,javaParenT2
|
||||||
syntax match javaOdysseyDotOperator "\<\u\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 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 javaOdysseyGetClass "\%(\<import\>\s\+\%(\w\+\.\)\+\)\@<=\%(\u\w*\)\%(\s*;\)\@="
|
||||||
syntax match javaOdysseyGetStaticMethod "\%(\<import\>\s\+\<static\>\s\+\%(\w\+\.\)\+\)\@<=\%(\l\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 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 javaOdysseyMethodRef "::\<\l\w*\>"ms=s+2 containedin=javaParenT,javaParenT1,javaParenT2
|
||||||
syntax match javaOdysseyClassMethodRef "\<\u\w*\>::"me=e-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 javaOdysseyComment start=+/\*+ end=+\*/+ transparent fold keepend
|
||||||
syntax region javaOdysseyImport start=/\%(^import\)\@<=\s.\+;/ end=+^\s*$+ 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
|
syntax region javaOdysseyImportStatic start=/\%(^import static\)\@<=\s.\+;/ end=+^\s*$+ transparent fold keepend
|
||||||
|
|||||||
+1
-2
@@ -286,8 +286,7 @@ call s:l( 'javaOdysseyMethod', 'Function')
|
|||||||
call s:l( 'javaOdysseyThis', 'Special')
|
call s:l( 'javaOdysseyThis', 'Special')
|
||||||
call s:l( 'javaOdysseyArrow', 'Operator')
|
call s:l( 'javaOdysseyArrow', 'Operator')
|
||||||
call s:l( 'javaOdysseyLombok', 'Statement')
|
call s:l( 'javaOdysseyLombok', 'Statement')
|
||||||
call s:l( 'javaOdysseyEnumValue', 'Constant')
|
call s:l( 'javaOdysseyEnumValue', 'Type')
|
||||||
call s:l('javaOdysseyEnumConstructor', 'Constant')
|
|
||||||
call s:l( 'javaOdysseyMethodRef', 'Function')
|
call s:l( 'javaOdysseyMethodRef', 'Function')
|
||||||
call s:l( 'javaOdysseyClassMethodRef', 'Type')
|
call s:l( 'javaOdysseyClassMethodRef', 'Type')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user