Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perl LS? #431

Open
mg979 opened this issue Aug 22, 2021 · 0 comments
Open

perl LS? #431

mg979 opened this issue Aug 22, 2021 · 0 comments

Comments

@mg979
Copy link

mg979 commented Aug 22, 2021

Has anybody managed to run perl language server with this plugin?

Configuration:

let g:lsc_server_commands = {
            \ 'perl': 'perl -MPerl::LanguageServer -e Perl::LanguageServer::run',
            \ 'lua': {
                \   'name': 'lua',
                \   'command': $HOME . '/.luarocks/bin/lua-lsp',
                \   'enabled': v:true,
                \ },
                \}

I get these errors when loading a file:

[lsc:Error] StdErr from perl -MPerl::LanguageServer -e Perl::LanguageServer::run: LS: apply_all_roles (Perl::LanguageServer=HASH(0x55d5ce687b28), Perl::LanguageServer::Methods, Perl/LanguageServer/Methods.pm)
[lsc:Error] StdErr from perl -MPerl::LanguageServer -e Perl::LanguageServer::run: LS: apply_all_roles (Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x55d5ce687b28), Perl::LanguageServer::Methods::textDocument, Perl/LanguageServer/Methods/textDocument.pm)

Then nothing works (go to definition, etc.).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant