diff options
author | w0rp <devw0rp@gmail.com> | 2017-05-12 09:20:16 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-05-12 09:20:16 +0100 |
commit | 07b2542c0d6505f2a843e700d246367a522ecf64 (patch) | |
tree | 5a0ee411ef62a76d1cf04ccd1bdff4dd8e3e786a /ale_linters/kotlin | |
parent | fa54f7af97f2bb33eec1363b2262caa5a5b70d0b (diff) | |
download | ale-07b2542c0d6505f2a843e700d246367a522ecf64.zip |
#549 Temporarily revert shell escaping changes, just for Windows
Diffstat (limited to 'ale_linters/kotlin')
-rw-r--r-- | ale_linters/kotlin/kotlinc.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ale_linters/kotlin/kotlinc.vim b/ale_linters/kotlin/kotlinc.vim index 543c3a99..20099912 100644 --- a/ale_linters/kotlin/kotlinc.vim +++ b/ale_linters/kotlin/kotlinc.vim @@ -16,13 +16,13 @@ function! ale_linters#kotlin#kotlinc#GetCommand(buffer) abort " If the config file is enabled and readable, source it if ale#Var(a:buffer, 'kotlin_kotlinc_enable_config') if filereadable(expand(ale#Var(a:buffer, 'kotlin_kotlinc_config_file'), 1)) - execute 'source ' . shellescape(expand(ale#Var(a:buffer, 'kotlin_kotlinc_config_file'), 1)) + execute 'source ' . ale#Escape(expand(ale#Var(a:buffer, 'kotlin_kotlinc_config_file'), 1)) endif endif " If use module and module file is readable use that and return if ale#Var(a:buffer, 'kotlin_kotlinc_use_module_file') - let l:module_filename = shellescape(expand(ale#Var(a:buffer, 'kotlin_kotlinc_module_filename'), 1)) + let l:module_filename = ale#Escape(expand(ale#Var(a:buffer, 'kotlin_kotlinc_module_filename'), 1)) if filereadable(l:module_filename) let l:kotlinc_opts .= ' -module ' . l:module_filename @@ -42,7 +42,7 @@ function! ale_linters#kotlin#kotlinc#GetCommand(buffer) abort if ale#Var(a:buffer, 'kotlin_kotlinc_sourcepath') !=# '' let l:fname .= expand(ale#Var(a:buffer, 'kotlin_kotlinc_sourcepath'), 1) . ' ' endif - let l:fname .= shellescape(expand('#' . a:buffer . ':p')) + let l:fname .= ale#Escape(expand('#' . a:buffer . ':p')) let l:command .= l:kotlinc_opts . ' ' . l:fname return l:command |