summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2017-05-30 22:30:37 +0100
committerGitHub <noreply@github.com>2017-05-30 22:30:37 +0100
commit6fe8105a0e42b8b25a2df83a801e6478fdbe3b58 (patch)
tree6e422c8fe9ea3c78366247bca9e0e23407cff34b
parentb9f4b0373a62266ea5eadd3c90a47e82df995391 (diff)
parentfa02b1d25975a85a9d976214a5161db48fecc907 (diff)
downloadale-6fe8105a0e42b8b25a2df83a801e6478fdbe3b58.zip
Merge pull request #600 from oalders/oalders-perl-warnings
Remove -X flag from perl defaults.
-rw-r--r--ale_linters/perl/perl.vim2
-rw-r--r--doc/ale-perl.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/perl/perl.vim b/ale_linters/perl/perl.vim
index 8720213b..ab4defbc 100644
--- a/ale_linters/perl/perl.vim
+++ b/ale_linters/perl/perl.vim
@@ -5,7 +5,7 @@ let g:ale_perl_perl_executable =
\ get(g:, 'ale_perl_perl_executable', 'perl')
let g:ale_perl_perl_options =
-\ get(g:, 'ale_perl_perl_options', '-X -c -Mwarnings -Ilib')
+\ get(g:, 'ale_perl_perl_options', '-c -Mwarnings -Ilib')
function! ale_linters#perl#perl#GetExecutable(buffer) abort
return ale#Var(a:buffer, 'perl_perl_executable')
diff --git a/doc/ale-perl.txt b/doc/ale-perl.txt
index 7daf48ac..58940ca7 100644
--- a/doc/ale-perl.txt
+++ b/doc/ale-perl.txt
@@ -16,7 +16,7 @@ g:ale_perl_perl_executable *g:ale_perl_perl_executable*
g:ale_perl_perl_options *g:ale_perl_perl_options*
*b:ale_perl_perl_options*
Type: |String|
- Default: `'-X -c -Mwarnings -Ilib'`
+ Default: `'-c -Mwarnings -Ilib'`
This variable can be changed to alter the command-line arguments to the perl
invocation.