Replies: 1 comment
-
Firstly, I'd try to google for similar issues (here people say that simple update might help and in my opinion full reinstallation of Julia and Julia-lsp will help) If that didn't help, than try this out:
julia --version
cd ~/.local/share/lvim/mason/packages/julia-lsp/libexec/extension/scripts/environments/languageserver/v1.10
julia --project=. -e 'using LanguageServer; LanguageServer.runserver()'
rm -f ~/.local/share/lvim/mason/packages/julia-lsp/libexec/store/lsdepot/v1/compiled/v1.10/LanguageServer/*.pidfile
import Pkg
Pkg.update()
Pkg.instantiate()
local lspconfig = require'lspconfig'
lspconfig.julials.setup{
on_attach = on_attach,
capabilities = capabilities,
cmd = {"/home/estebanpc/.local/share/lvim/mason/bin/julia-lsp"},
settings = {
julia = {
format = {
indent = 2
}
}
}
}
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With a fresh installation of Julia, the julia LSP seems to be not working, it doesn't start at all, these are the logs, maybe a bug?
Any ideas to fix this would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions