# 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:** 54

<div class="post-metadata">

**Author:** ![4aHxKzD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/4ahxkzd/32/10833_2.png) [@4aHxKzD](https://discourse.julialang.org/u/4aHxKzD)\
**Post date:** [January 18, 2020, 11:20am UTC](https://discourse.julialang.org/t/using-languageserver-jl-with-eglot-in-emacs/23125/54 "2020-01-18T11:20:08Z")

</div>

After installing `eglot-jl`, opening a `julia-mode` buffer, calling `init-eglot-jl` and `eglot`, I get the following error:

```julia
[jsonrpc] Server exited with status 1
error in process sentinel: eglot--error: [eglot] -1: Server died
error in process sentinel: [eglot] -1: Server died

```

I noticed that you initialize `LanguageServerInstance` with 6 arguments, but I checked the package `LanguageServer,jl` and the constructor for `LanguageServerInstance` only accepts 5 arguments. I also tried removing the last argument “`Dict()`” and was able to overcome this error. I still have others though.

---

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