Merge pull request #1958 from Garland-g/perl6

Add Perl6 support via 'perl6 -c'
This commit is contained in:
w0rp
2018-10-25 15:38:33 +01:00
committed by GitHub
7 changed files with 506 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
Before:
call ale#assert#SetUpLinterTest('perl6', 'perl6')
After:
call ale#assert#TearDownLinterTest()
Execute(The default Perl6 command callback should be correct):
AssertLinter 'perl6', 'perl6' . ' -c -Ilib %t'
Execute(Overriding the executable and command should work):
let b:ale_perl6_perl6_executable = 'foobar'
let b:ale_perl6_perl6_options = '-w'
AssertLinter 'foobar', 'foobar' . ' -w %t'