# Using LanguageServer.jl with eglot in emacs

**URL:** https://discourse.julialang.org/t/using-languageserver-jl-with-eglot-in-emacs/23125
**Category:** Tooling
**Tags:** editors, emacs
**Created:** [April 14, 2019, 1:46am UTC](https://discourse.julialang.org/t/using-languageserver-jl-with-eglot-in-emacs/23125 "2019-04-14T01:46:19Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![non-Jedi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/non-jedi/32/3645_2.png) [@non-Jedi](https://discourse.julialang.org/u/non-Jedi)
#### Post date: [September 4, 2019, 1:13pm UTC](https://discourse.julialang.org/t/using-languageserver-jl-with-eglot-in-emacs/23125/8 "2019-09-04T13:13:38Z")

</div>

(I’ll respond only here instead of on both github and here to keep the conversation in one place)

Most of the difference is that I find eglot easier to grok:

1. The codebase was cleaner and easier to read.
2. The documentation was simpler.
3. There’s no equivalent to lsp-ui that adds lots of noise and confusion (and was needed for flycheck integration).
4. eglot integrates with components that are included with emacs instead of external packages: `completion-at-point` instead of `company-mode`, `project.el` instead of projectile, flymake instead of flycheck, etc.

Philosophically, eglot is closer to a “library” than a framework whereas I found lsp-mode more on the “framework” side of that divide. It’s much the same reason I switched from using Spacemacs to having a vanilla emacs config.

Half the time, I don’t want the fancy IDE features provided by LanguageServer.jl at all, so when I do using eglot feels much less intrusive and closer to my normal editing environment than lsp-mode ever did.

> [@Tamas\_Papp](#):
>
> would you consider packaging the code you wrote up in the wiki, say, as `eglot-julia` on MELPA?

I may have time to do this in the coming weeks. Would it be helpful to you as well @gdkrmr if you could simply install “eglot-julia” from melpa and `M-x eglot` in a julia buffer?

> [@non-Jedi](#):
>
> To be honest, I don’t see a whole lot of utility in eglot+julia until  
> [the crashing on save  
> problem ](https://github.com/JuliaEditorSupport/LanguageServer.jl/issues/340)

If anyone was holding off on trying eglot because of this, that particular bug is fixed now.

---

_[View the full topic](https://discourse.julialang.org/t/using-languageserver-jl-with-eglot-in-emacs/23125)._
