Allow the highlighting of the Javadoc

It adds a mechanism that allows to trigger the highlight of the Javadoc.
In order to do so, the user must add the following to its .vimrc file
before declaring the colorscheme:

    let g:odyssey_java_javadoc = 1
    colorscheme odyssey

It must be noted that if g:odyssey_java_javadoc equals 0, the
highlighting of the Javadoc is not taken into account.
This commit is contained in:
Ludovic Koenig
2019-08-09 21:12:02 +02:00
parent 0b94ffda40
commit 48dbff0ada
+6
View File
@@ -283,7 +283,13 @@ call s:l( 'javaOdysseyLombok', 'Statement')
call s:l( 'javaOdysseyEnumValue', 'Constant')
call s:l('javaOdysseyEnumConstructor', 'Constant')
if exists('g:odyssey_java_javadoc') && g:odyssey_java_javadoc != 0
if exists('g:java_ignore_javadoc')
unlet g:java_ignore_javadoc
end
else
let g:java_ignore_javadoc = 1
endif
" }}}
" Ruby Highlights {{{