diff options
author | w0rp <devw0rp@gmail.com> | 2017-05-06 21:20:02 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-05-06 21:20:02 +0100 |
commit | 07bcbd4c06516a03b8d8f5ff8a9293917aed3277 (patch) | |
tree | b7aadfd773c0e741b0f6da1bae623b35c7e560e8 /ale_linters/python/pylint.vim | |
parent | f2c9fc403a5c25a3b9265095f3b6d4cfac80c99e (diff) | |
download | ale-07bcbd4c06516a03b8d8f5ff8a9293917aed3277.zip |
Escape the pylint executable appropriately
Diffstat (limited to 'ale_linters/python/pylint.vim')
-rw-r--r-- | ale_linters/python/pylint.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/python/pylint.vim b/ale_linters/python/pylint.vim index fa76a076..b2cc07f3 100644 --- a/ale_linters/python/pylint.vim +++ b/ale_linters/python/pylint.vim @@ -26,7 +26,7 @@ function! ale_linters#python#pylint#GetExecutable(buffer) abort endfunction function! ale_linters#python#pylint#GetCommand(buffer) abort - return ale_linters#python#pylint#GetExecutable(a:buffer) + return fnameescape(ale_linters#python#pylint#GetExecutable(a:buffer)) \ . ' ' . ale#Var(a:buffer, 'python_pylint_options') \ . ' --output-format text --msg-template="{path}:{line}:{column}: {msg_id} ({symbol}) {msg}" --reports n' \ . ' %s' |