tree-sitter-ispell.el
Run ispell on tree-sitter text nodes
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 'tree-sitter-ispell)
Using straight.el
(use-package tree-sitter-ispell
:straight (tree-sitter-ispell
:type git
:host github
:repo "erickgnavar/tree-sitter-ispell.el"))
Using use-package
(use-package tree-sitter-ispell
:ensure t)
Usage
M-x tree-sitter-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") 'tree-sitter-ispell-run-at-point)
M-x tree-sitter-ispell-run-buffer
to run ispell
for every text node in the current buffer.