Open doronbehar opened 1 year ago
Now I managed to change the default cacheDir
to ~/.perlls
, and I observe there are way too many folders created there:
$ find ~/.perlls
/home/doron/.perlls
/home/doron/.perlls/home
/home/doron/.perlls/home/doron
/home/doron/.perlls/home/doron/repos
/home/doron/.perlls/home/doron/repos/tmux-url-select
/home/doron/.perlls/home/doron/repos/tmux-url-select/.vscode
/home/doron/.perlls/home/doron/repos/tmux-url-select/.vscode/perl-lang
/home/doron/.perlls/home/doron/repos/tmux-url-select/.vscode/perl-lang/home
/home/doron/.perlls/home/doron/repos/tmux-url-select/.vscode/perl-lang/home/doron
/home/doron/.perlls/home/doron/repos/tmux-url-select/.vscode/perl-lang/home/doron/repos
/home/doron/.perlls/home/doron/repos/tmux-url-select/.vscode/perl-lang/home/doron/repos/tmux-url-select
/home/doron/.perlls/home/doron/repos/tmux-url-select/.vscode/perl-lang/home/doron/repos/tmux-url-select/.vscode
/home/doron/.perlls/home/doron/repos/tmux-url-select/.vscode/perl-lang/home/doron/repos/tmux-url-select/.vscode/perl-lang
/home/doron/.perlls/home/doron/repos/tmux-url-select/.vscode/perl-lang/home/doron/repos/tmux-url-select/.vscode/perl-lang/home
/home/doron/.perlls/home/doron/repos/tmux-url-select/.vscode/perl-lang/home/doron/repos/tmux-url-select/.vscode/perl-lang/home/doron
/home/doron/.perlls/home/doron/repos/tmux-url-select/.vscode/perl-lang/home/doron/repos/tmux-url-select/.vscode/perl-lang/home/doron/repos
/home/doron/.perlls/home/doron/repos/tmux-url-select/.vscode/perl-lang/home/doron/repos/tmux-url-select/.vscode/perl-lang/home/doron/repos/tmux-url-select
/home/doron/.perlls/home/doron/repos/tmux-url-select/.vscode/perl-lang/home/doron/repos/tmux-url-select/.vscode/perl-lang/home/doron/repos/tmux-url-select/tmux-url-select.pl
/home/doron/.perlls/home/doron/repos/tmux-url-select/.vscode/perl-lang/home/doron/repos/tmux-url-select/tmux-url-select.pl
/home/doron/.perlls/home/doron/repos/tmux-url-select/tmux-url-select.pl
And at least the server doesn't exit now. However, I don't get completions (I do get completion with other language servers). Also, the vars
json key found in the tmux-url-select.pl
json file contains an empty []
:
{"vars":[],"version":5}
Please remove .vscode/perllang
to avoid the extra dirs .
I have no knowlegde about neovim lsp.
Perl::LangaugeServer does support a lot of features, but no autocompletion. Any the json file should contain the symbols from the perl file.
Please remove
.vscode/perllang
to avoid the extra dirs .
Done. No difference in behavior.
Perl::LangaugeServer does support a lot of features, but no autocompletion.
Surprising... I thought that if symbols are detected, then autocompletion is available automatically.
Any the json file should contain the symbols from the perl file.
You mean that the fact I have empty vars
in that json file is a sign of something not functioning properly?
I will note that Perl-LanguageServer is able to detect syntax issues, which is rather satisfying.
If vars are empty and you have symbols in the file, then something is going wrong. You can try to set log-level to 2 and take a look at the output pane of Perl-Lanaguage-Server
Hello,
I'm trying to use the language server with Neovim and Lspconfig. I'm seeing the following weird errors in the log:
And the language server exits with code 17 when I start to edit files etc. Any idea why that happens? Here's the relevant Lua code:
https://github.com/doronbehar/nvim-lspconfig/blob/perlls--version/lua/lspconfig/server_configurations/perlls.lua
I'm linking my branch due to https://github.com/neovim/nvim-lspconfig/pull/2828 .