Configure spell checking

This commit is contained in:
Charlotte Van Petegem 2023-12-12 17:07:48 +01:00
parent d6dc7e9b2c
commit 846f6e10b2
No known key found for this signature in database
GPG key ID: 019E764B7184435A
2 changed files with 12 additions and 0 deletions

View file

@ -198,10 +198,17 @@
;; Linting
(use-package flycheck
:custom (flycheck-checker-error-threshold 10000 "Set error threshold a lot higher")
:hook ((text-mode prog-mode) . flycheck-mode)
:diminish (flycheck-mode)
)
(use-package flycheck-languagetool
:hook (text-mode . flycheck-languagetool-setup)
:custom
(flycheck-languagetool-url "http://localhost:8081")
)
;; Annotations in selection interface
(use-package marginalia
:after (vertico)

View file

@ -28,6 +28,11 @@
{ path = ".cache/emacs"; type = "cache"; }
];
services.languagetool = {
enable = true;
settings.cacheSize = 10000;
};
home-manager.users.charlotte = { ... }: {
services.emacs = {
enable = true;