IIRC, 1.9 was already faster than previous versions. But I think v1.10 introduced new improvements in terms of startup times.
It might simply be that caching is not finished, but AFAIU this does not prevent the language server to start. It merely reduces its usefulness until all packages are correctly indexed.
It looks like what you’re doing is OK.
If you’re still bothered about startup times, you can try updating everything:
- update Julia to v1.10
- update the version of
LanguageServer.jl
internally used byeglot-jl
.
There are several ways to update the LanguageServer
. If you don’t want to risk breaking your existing installation of eglot-jl
, one way could be along the lines of
shell$ mkdir -p some/path/of/your/choosing/eglot-jl-env
shell$ cd some/path/of/your/choosing/eglot-jl-env
shell$ julia --project=. -e 'import Pkg; Pkg.add(["LanguageServer", "SymbolServer"])'
And then in your emacs config:
(setq eglot-jl-language-server-project
"some/path/of/your/choosing/eglot-jl-env")