refactor(javac): ale_java_javac_sourcepath variable defaults to String

This commit is contained in:
NiBo 2020-05-19 11:17:17 +08:00
parent e61e1147b0
commit 0b5d72fecd
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ let s:classpath_sep = has('unix') ? ':' : ';'
call ale#Set('java_javac_executable', 'javac')
call ale#Set('java_javac_options', '')
call ale#Set('java_javac_classpath', '')
call ale#Set('java_javac_sourcepath', [])
call ale#Set('java_javac_sourcepath', '')
function! ale_linters#java#javac#RunWithImportPaths(buffer) abort
let l:command = ''

View file

@ -70,7 +70,7 @@ g:ale_java_javac_options *g:ale_java_javac_options*
g:ale_java_javac_sourcepath *g:ale_java_javac_sourcepath*
*b:ale_java_javac_sourcepath*
Type: |String| or |List|
Default: `[]`
Default: `''`
This variable can set multiple source code paths, the source code path is a
relative path (relative to the project root directory).