Emacs: use wucuo instead of flyspell
Alan Pearce alan@alanpearce.eu
Mon, 06 Mar 2023 21:14:26 +0100
2 files changed, 9 insertions(+), 3 deletions(-)
M user/emacs/init.el → user/emacs/init.el
@@ -943,11 +943,9 @@ :fringe-bitmap 'left-vertical-bar :fringe-face 'flycheck-fringe-info :info-list-face 'flycheck-error-list-info))) -(use-package flyspell - :ghook 'text-mode-hook - :hook (prog-mode . flyspell-prog-mode)) (setq-default ispell-dictionary "en_GB-ise-w_accents") (setq ispell-extra-args '("--sug-mode=ultra" "--camel-case")) +(use-package flyspell) (use-package flyspell-correct :after flyspell @@ -957,6 +955,13 @@ (use-package flyspell-correct-avy-menu :after flyspell-correct :init (progn (setq flyspell-correct-interface #'flyspell-correct-avy-menu))) +(use-package wucuo + :ghook ('(prog-mode-hook + text-mode-hook) + #'wucuo-start) + :config (progn + (setq wucuo-aspell-language-to-use "en_GB-ise-w_accents" + wucuo-enable-camel-case-algorithm-p nil))) (use-package feature-mode :config (progn
M user/settings/emacs.nix → user/settings/emacs.nix
@@ -175,6 +175,7 @@ tree-sitter-indent typescript-mode undo-tree use-package + wucuo web-mode wgrep-ag ws-butler