diff options
author | mms <michal@sapka.me> | 2024-06-25 23:10:47 +0200 |
---|---|---|
committer | mms <michal@sapka.me> | 2024-06-25 23:10:47 +0200 |
commit | 80b29668c333f60bb5b3c723caf91b3232303c92 (patch) | |
tree | af8ad15a15a8528518485a2748055bacc9199b95 /mms-ox-publish.org | |
parent | 1c2cfcff64a2d58d755a8319080c26f6b32d6bce (diff) |
feat: thingies
I forgot to commit early
Diffstat (limited to 'mms-ox-publish.org')
-rw-r--r-- | mms-ox-publish.org | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mms-ox-publish.org b/mms-ox-publish.org index 4c3adbb..1871d64 100644 --- a/mms-ox-publish.org +++ b/mms-ox-publish.org @@ -87,3 +87,26 @@ Finally, I want to have quick access ) #+end_src +* Language tool + +#+begin_src emacs-lisp + (use-package languagetool + :ensure t + :commands (languagetool-check + languagetool-clear-suggestions + languagetool-correct-at-point + languagetool-correct-buffer + languagetool-set-language + languagetool-server-mode + languagetool-server-start + languagetool-server-stop) + :config + (setq languagetool-java-arguments '("jexec" "ltex" "java" "-Dfile.encoding=UTF-8") + languagetool-java-bin "doas" + languagetool-console-command "/root/ltex/languagetool-commandline.jar" + languagetool-console-arguments '("--languagemodel" "/var/ngrams/" "-l" "en") + languagetool-server-command "/root/ltex/languagetool-server.jar")) + + (defun languagetool-console-command-exists-p () t ) + +#+end_src |