When using standalone Vim, the Erlang Language Server works as expected, using the following CocConfig:
{
"languageserver": {
"erlang": {
"command": "erlang_ls",
"filetypes": ["erlang"]
}
}
}
But when I try to open and edit Erlang source files from within Vifm, I get the following error:
erlang client: couldn't create connection to server.
Launching server using command erlang_ls failed. Error: spawn erlang_ls ENOENT
What command should I use in order to spawn the Erlang Lsp from within Vifm?
Thank you in advance.