You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/get-started/editors/emacs.md
+24-4Lines changed: 24 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,35 @@ sidebar_position: 2
4
4
5
5
# Emacs
6
6
7
-
The ELP project can be used as a [language server](https://microsoft.github.io/language-server-protocol/overviews/lsp/overview/) in the Emacs text editor via the [lsp-mode](https://emacs-lsp.github.io/lsp-mode/) LSP client.
7
+
The ELP project can be used as a [language server](https://microsoft.github.io/language-server-protocol/overviews/lsp/overview/) in the Emacs text editor via the [eglot](https://github.com/joaotavora/eglot) or [lsp-mode](https://emacs-lsp.github.io/lsp-mode/) LSP clients.
8
8
9
-
## Requirements
9
+
## Eglot
10
10
11
-
### `lsp-mode`
11
+
Eglot is part of Emacs core since Emacs 29.
12
+
For earlier versions it can be installed with the `eglot` package.
Refer to the [manual](https://elpa.gnu.org/devel/doc/eglot.html#Customization-Variables) for additional configuration options.
30
+
31
+
## lsp-mode
12
32
13
33
Install the `lsp-mode` package, which is a generic Emacs client for LSP servers. You can follow [these instructions](https://emacs-lsp.github.io/lsp-mode/page/installation/) to install it.
14
34
15
-
##Configure Emacs
35
+
### Configuration
16
36
17
37
Add the following to your emacs `.emacs` file or equivalent.
0 commit comments