Skip to content
denes710 edited this page Feb 20, 2024 · 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).

Installing server

cpanm PLS

Registering in .vimrc

if executable('pls')
    au User lsp_setup call lsp#register_server({
        \ 'name': 'pls',
        \ 'cmd': {server_info->['pls']},
        \ 'allowlist': ['perl'],
        \ })
endif