mirror of
https://github.com/dense-analysis/ale.git
synced 2026-04-28 01:55:30 +08:00
b1b027d5e6
* Add support for PerlNavigator * fixup! Add support for PerlNavigator * fixup! fixup! Add support for PerlNavigator * fixup! fixup! fixup! Add support for PerlNavigator --------- Co-authored-by: cos <cos>
16 lines
565 B
VimL
16 lines
565 B
VimL
" Author: rymdbar <https://rymdbar.x20.se/>
|
|
" Description: Perl Navigator Language Server
|
|
" See: https://github.com/bscan/PerlNavigator
|
|
|
|
call ale#Set('perl_perlnavigator_config', {})
|
|
call ale#Set('perl_perlnavigator_executable', 'perlnavigator')
|
|
|
|
call ale#linter#Define('perl', {
|
|
\ 'name': 'perlnavigator',
|
|
\ 'lsp': 'stdio',
|
|
\ 'executable': {b -> ale#Var(b, 'perl_perlnavigator_executable')},
|
|
\ 'command': '%e --stdio',
|
|
\ 'lsp_config': {b -> ale#Var(b, 'perl_perlnavigator_config')},
|
|
\ 'project_root': function('ale#handlers#perl#GetProjectRoot'),
|
|
\ })
|