diff --git a/ale_linters/java/javac.vim b/ale_linters/java/javac.vim index 9815ffa4..af2dbc96 100644 --- a/ale_linters/java/javac.vim +++ b/ale_linters/java/javac.vim @@ -4,7 +4,7 @@ let g:ale_java_javac_options = get(g:, 'ale_java_javac_options', '') let g:ale_java_javac_classpath = get(g:, 'ale_java_javac_classpath', '') -function! ale_linters#java#javac#GetCommand(buffer) +function! ale_linters#java#javac#GetCommand(buffer) abort let l:cp_option = !empty(g:ale_java_javac_classpath) \ ? '-cp ' . g:ale_java_javac_classpath \ : ''