/esbonio.el

Integrating the esbonio language server into Emacs

Primary LanguageEmacs LispGNU General Public License v3.0GPL-3.0

esbonio.el

Emacs package for integrating the esbonio language server into Emacs

Setup (eglot)

Install the esbonio language server if you haven't already

pipx install --pre esbonio

Clone this repository to a location of your choosing

git clone https://github.com/swyddfa/esbonio.el

Add the following minimal configuration to your init.el

;; Ensure that eglot is loaded before esbonio
(use-package eglot)

(use-package esbonio
  :load-path "path/to/esbonio.el"
  :demand
  :hook ((rst-mode . eglot-ensure)))

Setup (lsp-mode)

Coming soonTM

Usage

See the upstream project's documentation on using esbonio itself.

In addition to registering esbonio with the various lsp client packages, this package provides the following

  • esbonio-preview-file: Function to open a preview for the current file
  • esbonio-sync-scroll-mode: Global minor mode that synhronises the scroll state between Emacs and the documentation preview.