/treesit-ispell.el

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

treesit-ispell.el

MELPA

Run ispell on text nodes, this works using treesit built-in package.

Installation

Cloning the repo

Clone this repo somewhere, and add this to your config:

(add-to-list 'load-path "path where the repo was cloned")

(require 'treesit-ispell)

Using straight.el

(use-package treesit-ispell
  :straight (treesit-ispell
             :type git
             :host github
             :repo "erickgnavar/treesit-ispell.el"))

Using use-package

(use-package treesit-ispell
  :ensure t)

Usage

M-x treesit-ispell-run-at-point to use the node at the current position

It can also be attached to a keybinding, for example:

(global-set-key (kbd "C-x C-s") 'treesit-ispell-run-at-point)