summaryrefslogtreecommitdiff
path: root/mms-ox-publish.org
diff options
context:
space:
mode:
Diffstat (limited to 'mms-ox-publish.org')
-rw-r--r--mms-ox-publish.org37
1 files changed, 14 insertions, 23 deletions
diff --git a/mms-ox-publish.org b/mms-ox-publish.org
index 555dcd4..70b942b 100644
--- a/mms-ox-publish.org
+++ b/mms-ox-publish.org
@@ -90,30 +90,21 @@ 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")
-
-
- (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 ))
+ (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-server-host "https://api.languagetool.org"
+ languagetool-server-port 443))
#+end_src
#+RESULTS:
-: [nil 26245 23595 987957 nil elpaca-process-queues nil nil 111999 nil]
+: [nil 26264 12533 127221 nil elpaca-process-queues nil nil 0 nil]