From a19b91bfc676829c0e508fd1f725696a00a6b335 Mon Sep 17 00:00:00 2001 From: Ludovic Koenig Date: Tue, 2 Apr 2019 22:02:04 +0200 Subject: [PATCH] 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. --- colors/odyssey.vim | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/colors/odyssey.vim b/colors/odyssey.vim index 5326b27..6053066 100644 --- a/colors/odyssey.vim +++ b/colors/odyssey.vim @@ -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 {{{