summaryrefslogtreecommitdiff
path: root/mms-ox-publish.org
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-07-03 23:55:34 +0200
committermms <michal@sapka.me>2024-07-03 23:55:34 +0200
commita4f57ffcf960345d44e01cc01a62d2b9d78d0a41 (patch)
tree86972166f7779c056986f172918e9ac0e25c413f /mms-ox-publish.org
parent2aad862fe5b3b9718f02ea381fa93948b4f67ca8 (diff)
feat
Diffstat (limited to 'mms-ox-publish.org')
-rw-r--r--mms-ox-publish.org42
1 files changed, 23 insertions, 19 deletions
diff --git a/mms-ox-publish.org b/mms-ox-publish.org
index fd1847a..555dcd4 100644
--- a/mms-ox-publish.org
+++ b/mms-ox-publish.org
@@ -90,26 +90,30 @@ Finally, I want to have quick access
* 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-US")
- languagetool-server-command "/root/ltex/languagetool-server.jar"))
-
- (defun languagetool-console-command-exists-p () t )
+ (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-US")
+ ;; languagetool-server-command "/root/ltex/languagetool-server.jar")
+
+
+ (setq languagetool-java-arguments '("jexec" "ltex" "java" "-Dfile.encoding=UTF-8")
+ languagetool-server-urls "http://languagetool.org")
+ :init
+ (defun languagetool-console-command-exists-p () t ))
#+end_src
#+RESULTS:
-: languagetool-console-command-exists-p
+: [nil 26245 23595 987957 nil elpaca-process-queues nil nil 111999 nil]