diff options
author | w0rp <devw0rp@gmail.com> | 2019-04-15 13:36:03 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2019-04-15 13:36:28 +0100 |
commit | fa18195e3409806ba4c9fd0a49c27983a85c2261 (patch) | |
tree | d4d1aa0188944ebcfd2ff130d2181e384a92df56 /ale_linters | |
parent | 0059bcd1d05688f1b2b05cc7f34490384e235bc2 (diff) | |
download | ale-fa18195e3409806ba4c9fd0a49c27983a85c2261.zip |
Fix #2440 - Fix the kotlinc command when Maven and Gradle are missing
Diffstat (limited to 'ale_linters')
-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, [], {}) |