Merge pull request #600 from oalders/oalders-perl-warnings

Remove -X flag from perl defaults.
This commit is contained in:
w0rp 2017-05-30 22:30:37 +01:00 committed by GitHub
commit 6fe8105a0e
2 changed files with 2 additions and 2 deletions

View File

@ -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')

View File

@ -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.