refactor(javac): ale_java_javac_sourcepath variable supports String and List types

This commit is contained in:
NiBo committed 2020-05-19 10:41:35 +08:00
1 parent 3635285c02
commit ff6bfc3d37
5 files changed
+117 -13

No files matched your search

+18 -9
View File
@@ -69,18 +69,27 @@ 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: |List|
Type: |String| or |List|
Default: `[]`
This variable can set multiple source code paths, the source code path is a
relative path (relative to the project root directory).
This variable can set multiple source code paths, the source code path is a
relative path (relative to the project root directory).
Example:
>
let g:ale_java_javac_sourcepath = [
\ 'build/generated/source/querydsl/main',
\ 'target/generated-sources/source/querydsl/main'
\ ]
Example:
String type:
Note that the unix system separator is a colon(`:`) window system
is a semicolon(`;`).
>
let g:ale_java_javac_sourcepath = 'build/gen/source/xx/main:build/gen/source'
<
List type:
>
let g:ale_java_javac_sourcepath = [
\ 'build/generated/source/querydsl/main',
\ 'target/generated-sources/source/querydsl/main'
\ ]
<
===============================================================================