nvim-lsp-installer icon indicating copy to clipboard operation
nvim-lsp-installer copied to clipboard

New server request: perl

Open errantepiphany opened this issue 3 years ago • 5 comments

Which server would you like to request to be added? Server name: Perl-LanguageServer Server homepage (e.g., GitHub page): https://github.com/richterger/Perl-LanguageServer/tree/master/clients/vscode/perl

Which languages does this server target? Languages: Perl

There appear to be a few language servers for Perl, but this is the one that coc-perl refers to when it says, "This project is based on the official VSCode extension maintained at Perl-LanguageServer."

errantepiphany avatar Dec 06 '21 23:12 errantepiphany

Hello! I've actually taken a look at this before but got stuck with getting perl to install modules to a local directory. Will revisit

williamboman avatar Dec 08 '21 00:12 williamboman

@williamboman Thanks so much! :)

errantepiphany avatar Dec 09 '21 01:12 errantepiphany

@williamboman I don't know what you've tried but cpanm --local-lib=<local dir> <module> should work. It will also require that PERL5LIB have an entry for that directory when the server runs. e.g. PER5LIB=$PERL5LIB:<local dir>/lib/perl5.

Hope this helps.

WhoIsSethDaniel avatar Mar 02 '22 21:03 WhoIsSethDaniel

PSA: The perlnavigator server was recently added.

williamboman avatar Mar 09 '22 22:03 williamboman

PSA: The perlnavigator server was recently added.

@williamboman Thanks so much! Really appreciated. :) Should we close this issue, then?

errantepiphany avatar Mar 11 '22 16:03 errantepiphany