Add the highlights for Java

Methods are colored in green, types in yellows and annotations in
orange. Some italic flavours are also used.

The most difficult thing to achieve was to highlight constantly Java
types or classe names.
This commit is contained in:
Ludovic Koenig
2019-04-02 22:02:04 +02:00
parent 813a42c895
commit a19b91bfc6
+16
View File
@@ -256,6 +256,22 @@ call s:h( 'Ignore', 'background', 'background', 'none')
call s:h( 'Error', 'background', 'error', 'bold')
call s:h( 'Todo', 'background', 'warning', 'bold')
" }}}
" Java Highlights {{{
call s:h( 'javaAnnotation', 'background', 'warning', 'italic')
call s:l( 'javaExternal', 'Statement')
call s:l( 'javaTypeDef', 'javaOdysseyThis')
call s:l( 'javaOdysseyClass', 'Type')
call s:l( 'javaOdysseyInterface', 'Type')
call s:l( 'javaOdysseyCasting', 'Type')
call s:l( 'javaOdysseyArray', 'Normal')
call s:l( 'javaOdysseyGeneric', 'Normal')
call s:l( 'javaOdysseyType', 'Type')
call s:l('javaOdysseyConstructor', 'Type')
call s:l( 'javaOdysseyMethod', 'Function')
call s:l( 'javaOdysseyThis', 'Special')
" }}}
" Ruby Highlights {{{