Run ispell on tree-sitter text nodes
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)(use-package tree-sitter-ispell
:straight (tree-sitter-ispell
:type git
:host github
:repo "erickgnavar/tree-sitter-ispell.el"))(use-package tree-sitter-ispell
:ensure t)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.