Closed d12frosted closed 4 years ago
Fixes #58
This change allows users to hook into the interface and modify result to their liking. As example, one can define a key binding for skipping a word:
(defun flyspell-correct-ivy-skip () (interactive) (ivy-exit-with-action (lambda (_) (setq flyspell-correct-ivy--result (cons 'skip ""))))) (define-key flyspell-correct-ivy-map (kbd "C-;") #'flyspell-correct-ivy-skip)
But please be careful when modifying flyspell-correct-ivy--result. While it's structure rarely change, it does change time to time. See flyspell-correct-interface for more information.
flyspell-correct-ivy--result
flyspell-correct-interface
Fixes #58
This change allows users to hook into the interface and modify result to their liking. As example, one can define a key binding for skipping a word:
But please be careful when modifying
flyspell-correct-ivy--result
. While it's structure rarely change, it does change time to time. Seeflyspell-correct-interface
for more information.