From 98940af1c93f4c9368f7cc9eb874b170542a7a70 Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 10 Feb 2023 20:56:20 +0100 Subject: Configure aspell --- emacs/emacs.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/emacs/emacs.el b/emacs/emacs.el index 1fb584f2..1bf00018 100644 --- a/emacs/emacs.el +++ b/emacs/emacs.el @@ -44,6 +44,12 @@ (add-hook 'find-file-hook 'flymake-vale-maybe-load) (add-hook 'adoc-mode-hook 'flymake-mode) +(straight-use-package 'flymake-aspell) +(add-hook 'adoc-mode-hook #'flymake-aspell-setup) +(setq ispell-dictionary "en_US-RH") + +(add-hook 'adoc-mode-hook (lambda () (setq flymake-aspell-aspell-mode "asciidoc"))) + (straight-use-package 'lsp-mode) (straight-use-package 'company-mode) (straight-use-package 'lsp-ui) -- cgit v1.2.3