Files
ale/test/linter/test_perl.vader
rymdbar 92dd497e6c Add support for perl language server (#5003)
* Fix perl test case clean-up
* Add support for perl language server

Co-authored-by: cos <cos>
2025-08-13 16:57:11 +01:00

17 lines
505 B
Plaintext

Before:
call ale#assert#SetUpLinterTest('perl', 'perl')
After:
call ale#assert#TearDownLinterTest()
Execute(The default Perl command callback should be correct):
AssertLinter 'perl', ale#Escape('perl') . ' -c -Mwarnings -Ilib %t'
Execute(Overriding the executable and command should work):
let b:ale_perl_perl_executable = 'foobar'
let b:ale_perl_perl_options = '-w'
AssertLinter 'foobar', ale#Escape('foobar') . ' -w %t'
unlet b:ale_perl_perl_executable
unlet b:ale_perl_perl_options