diff options
author | w0rp <devw0rp@gmail.com> | 2019-04-15 13:36:03 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2019-04-15 13:36:03 +0100 |
commit | 61c1ddd90429c2604867358aedc2456b560845f9 (patch) | |
tree | 87ba60838eb678e5b9fa5b0a18c8d6899697a3b3 /ale_linters/kotlin | |
parent | 495bce32e957dcf45d6d6acf183599e18c92b09d (diff) | |
download | ale-61c1ddd90429c2604867358aedc2456b560845f9.zip |
Fix #2440 - Fix the kotlinc command when Maven and Gradle are missing
Diffstat (limited to 'ale_linters/kotlin')
-rw-r--r-- | ale_linters/kotlin/kotlinc.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ale_linters/kotlin/kotlinc.vim b/ale_linters/kotlin/kotlinc.vim index fddd6625..3c6854fa 100644 --- a/ale_linters/kotlin/kotlinc.vim +++ b/ale_linters/kotlin/kotlinc.vim @@ -12,6 +12,8 @@ let g:ale_kotlin_kotlinc_module_filename = get(g:, 'ale_kotlin_kotlinc_module_fi let s:classpath_sep = has('unix') ? ':' : ';' function! ale_linters#kotlin#kotlinc#RunWithImportPaths(buffer) abort + let l:command = '' + " exec maven/gradle only if classpath is not set if ale#Var(a:buffer, 'kotlin_kotlinc_classpath') isnot# '' return ale_linters#kotlin#kotlinc#GetCommand(a:buffer, [], {}) |