From 07bcbd4c06516a03b8d8f5ff8a9293917aed3277 Mon Sep 17 00:00:00 2001 From: w0rp Date: Sat, 6 May 2017 21:20:02 +0100 Subject: Escape the pylint executable appropriately --- ale_linters/python/pylint.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ale_linters/python/pylint.vim') 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' -- cgit v1.2.3