fix(emacs): sort out language tool this was just not working

This commit is contained in:
Ade Attwood 2022-03-13 20:42:44 +00:00
parent 4760acc065
commit 70b3d16a4b

View file

@ -7,7 +7,9 @@
;; https://www.practically.io/copyright/ ;; https://www.practically.io/copyright/
(use-package languagetool (use-package languagetool
:commands (languagetool-check languagetool-server-start)
:init
(setq languagetool-correction-language "en-GB")
:config :config
(setq languagetool-default-language "en-GB") (setq languagetool-server-command "~/.local/share/LanguageTool/LanguageTool-5.6/languagetool-server.jar")
(setq languagetool-language-tool-jar (setq languagetool-console-command "~/.local/share/LanguageTool/LanguageTool-5.6/languagetool-commandline.jar"))
"/.local/share/LanguageTool/LanguageTool-5.6/languagetool-commandline.jar"))