You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pylyzer needs Erg to function correctly, whose path to its binary and libs should be stored in env var $ERG_PATH:
[ERROR][2024-11-11 12:08:17] .../vim/lsp/rpc.lua:770 "rpc" "/home/fishbone/.local/share/nvim/mason/bin/pylyzer" "stderr" "\27[91m[ERR] ERG_PATH not found\27[m\n"
I can resolve this by extracting tar from Erg release to my ~/.erg, then export env var by vim.fn.setenv("ERG_PATH", vim.fn.getenv("HOME") .. "/.erg")
However no such info regarding Erg is provided in lspconfig-all. I suggest adding this, or even better, adding erg_path option to let lspconfig handle exporting the env var automatically.
The text was updated successfully, but these errors were encountered:
Description
Pylyzer needs Erg to function correctly, whose path to its binary and libs should be stored in env var $ERG_PATH:
I can resolve this by extracting tar from Erg release to my
~/.erg
, then export env var byvim.fn.setenv("ERG_PATH", vim.fn.getenv("HOME") .. "/.erg")
However no such info regarding Erg is provided in
lspconfig-all
. I suggest adding this, or even better, addingerg_path
option to let lspconfig handle exporting the env var automatically.The text was updated successfully, but these errors were encountered: