summaryrefslogtreecommitdiff
path: root/ale_linters/perl
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-12-02 20:47:01 +0000
committerw0rp <devw0rp@gmail.com>2017-12-02 20:47:01 +0000
commit2f9869de44cf4b9542fc79a4c4566aa268910b23 (patch)
treebc070097a6b7970a213855c304d7b5588aa3f8f3 /ale_linters/perl
parenta4f8506227ae0842adb74035eef51eba71c079e1 (diff)
downloadale-2f9869de44cf4b9542fc79a4c4566aa268910b23.zip
Escape the perl executable, and cover the callbacks with tests
Diffstat (limited to 'ale_linters/perl')
-rw-r--r--ale_linters/perl/perl.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/perl/perl.vim b/ale_linters/perl/perl.vim
index 33288061..fcc88f35 100644
--- a/ale_linters/perl/perl.vim
+++ b/ale_linters/perl/perl.vim
@@ -12,7 +12,7 @@ function! ale_linters#perl#perl#GetExecutable(buffer) abort
endfunction
function! ale_linters#perl#perl#GetCommand(buffer) abort
- return ale_linters#perl#perl#GetExecutable(a:buffer)
+ return ale#Escape(ale_linters#perl#perl#GetExecutable(a:buffer))
\ . ' ' . ale#Var(a:buffer, 'perl_perl_options')
\ . ' %t'
endfunction