Configure spell checking
This commit is contained in:
parent
d6dc7e9b2c
commit
846f6e10b2
2 changed files with 12 additions and 0 deletions
|
@ -198,10 +198,17 @@
|
||||||
|
|
||||||
;; Linting
|
;; Linting
|
||||||
(use-package flycheck
|
(use-package flycheck
|
||||||
|
:custom (flycheck-checker-error-threshold 10000 "Set error threshold a lot higher")
|
||||||
:hook ((text-mode prog-mode) . flycheck-mode)
|
:hook ((text-mode prog-mode) . flycheck-mode)
|
||||||
:diminish (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
|
;; Annotations in selection interface
|
||||||
(use-package marginalia
|
(use-package marginalia
|
||||||
:after (vertico)
|
:after (vertico)
|
||||||
|
|
|
@ -28,6 +28,11 @@
|
||||||
{ path = ".cache/emacs"; type = "cache"; }
|
{ path = ".cache/emacs"; type = "cache"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.languagetool = {
|
||||||
|
enable = true;
|
||||||
|
settings.cacheSize = 10000;
|
||||||
|
};
|
||||||
|
|
||||||
home-manager.users.charlotte = { ... }: {
|
home-manager.users.charlotte = { ... }: {
|
||||||
services.emacs = {
|
services.emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue