Escape the pylint executable appropriately
This commit is contained in:
parent
f2c9fc403a
commit
07bcbd4c06
2 changed files with 14 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue