Using LanguageServer.jl with eglot in emacs

LanguageServer.jl eglot integration is now packaged up at https://github.com/non-Jedi/jleglot and I just created a pending PR to melpa at https://github.com/melpa/melpa/pull/6531. Hope it’s helpful to y’all. :slight_smile:

For anyone wondering how I ended up making sure the project was instantiated, I stole a page from the Revise playbook:

try
    @eval using LanguageServer
catch
    @warn "Unable to import LanguageServer. Instantiating project."
    Pkg.instantiate()
    @eval using LanguageServer
end#try
4 Likes