Skip to content

Clojure LSPλ︎

The Language Server Protocol provides a standard set of tools that are used to developer any programming language. These tools are typically provides with a language specific server.

clojure-lsp is an implementation of an LSP server, for Clojure and ClojureScript languages.

Clojure LSP example screenshot

Installλ︎

Follow your preferred option on the Clojure LSP installation guide

Practicalli downloads the clojure-lsp-native-linux-amd64.zip file from GitHub release pageand extracts the clojure-lsp binary to ~/.local/bin/clojure-lsp.

clojure-lsp -v in a terminal will test if the the install is working.

Editors may install Clojure LSP for you

Spacemacs LSP layer will prompt to install a language server when first opening a file of a major mode where LSP is enabled. E.g. when a Clojure related file is opened, the Clojure LSP server is downloaded if not installed (or not found on the Emacs path).

VSCode Calva plugin includes the clojure-lsp server, although an external server can be configured.

Referencesλ︎


Last update: April 25, 2023