Merge the fix for the Java val keyword

It closes #11 on Github.
This commit is contained in:
Ludovic Koenig
2019-09-10 22:04:12 +02:00
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -48,6 +48,9 @@ project adheres to [Semantic Versioning].
### Fixed ### Fixed
- Fix the Java highlight for the `val` keyword within lambdas bodies. This fix
should also have fix the highlight of `val` in other snippets of Java code.
- Fix the Java highlight for nested class names in `import` statements. - Fix the Java highlight for nested class names in `import` statements.
## [0.4.0] - 2019-08-02 ## [0.4.0] - 2019-08-02
+1
View File
@@ -49,6 +49,7 @@ syntax match javaOdysseyClassMethodRef "\<\u\w*\>::"me=e-2 containedin=javaPa
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
syntax cluster javaTop add=javaOdysseyLombok
" }}} " }}}
" vim: foldmethod=marker " vim: foldmethod=marker