Emacs LSP servers
Created: Sep 9 2026, 07:47 UTC
Last modified: Sep 9 2026, 07:47 UTC
The Language Server Protocol lets text editors like Emacs better understand programming languages.
In Emacs this requires a client, like lsp-mode or eglot, paired with a server per language. The server is an executable that you install and that Emacs uses by launching it as a client process.
For each language I use:
Python: I use pyright, which is weirdly an npm app, but which can be installed with pipx.
Go: standard choice seems to be gopls, installed via:
go install golang.org/x/tools/gopls@latest
Typescript: Recommended choice seems to be typescript-language-server, installed via:
npm install -g typescript-language-server typescript