# Emacs and lsp

**URL:** <https://discourse.julialang.org/t/emacs-and-lsp/41890>\
**Category:** Tooling\
**Tags:** emacs, languageserver\
**Created:** [June 22, 2020, 8:25pm UTC](https://discourse.julialang.org/t/emacs-and-lsp/41890 "2020-06-22T20:25:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![d1cker](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/d1cker/32/9816_2.png) [@d1cker](https://discourse.julialang.org/u/d1cker)\
**Post date:** [June 22, 2020, 8:25pm UTC](https://discourse.julialang.org/t/emacs-and-lsp/41890/1 "2020-06-22T20:25:25Z")

</div>

Could someone share his lsp config? ( I don’t mind if it’s lsp-mode or eglot)

---

<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:** [June 22, 2020, 8:36pm UTC](https://discourse.julialang.org/t/emacs-and-lsp/41890/2 "2020-06-22T20:36:19Z")

</div>

I posted a mirror of my emacs config to github a couple weeks ago. The parts pertaining to eglot with julia can be found at the link below. Note that `(straight-use-package '(eglot-jl :type git :host github :repo "non-Jedi/eglot-jl" :files ("*.el" "*.jl" "*.toml"))))` can probably be simply `(straight-use-package 'eglot-jl)` now that it’s on melpa.

[https://github.com/non-Jedi/.emacs.d/blob/master/lisp/julia-config.el](https://github.com/non-Jedi/.emacs.d/blob/master/lisp/julia-config.el)
