summaryrefslogtreecommitdiff
path: root/ale_linters/kotlin
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-04-15 13:36:03 +0100
committerw0rp <devw0rp@gmail.com>2019-04-15 13:36:03 +0100
commit61c1ddd90429c2604867358aedc2456b560845f9 (patch)
tree87ba60838eb678e5b9fa5b0a18c8d6899697a3b3 /ale_linters/kotlin
parent495bce32e957dcf45d6d6acf183599e18c92b09d (diff)
downloadale-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.vim2
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, [], {})