-
Notifications
You must be signed in to change notification settings - Fork 306
Servers Perl
targetdisk edited this page Jun 14, 2023
·
3 revisions
The PLS
Perl module implements the Language Server Protocol for Perl 5 code. It will probably work with Perl 7 code, as well (untested).
When I installed the PIL
module using cpan
I got issues until I installed the PPI Perl parsing module through Cpan first:
cpan PPI
Then you can install PIL
:
cpan PIL
Once the pil
is installed in your PATH
, you can register it in your .vimrc
if executable('pls')
au User lsp_setup call lsp#register_server({
\ 'name': 'pls',
\ 'cmd': {server_info->['pls']},
\ 'allowlist': ['perl'],
\ })
endif