about summary refs log tree commit diff
path: root/users/sterni/emacs/default.nix
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2022-03-06T22·48+0100
committerclbot <clbot@tvl.fyi>2022-03-09T10·19+0000
commit5cabe369ed9ddafd1f07f579f492eaddd58def3b (patch)
tree69edba7ed8aed7b867c64040e73e9ef4ebb1e8b1 /users/sterni/emacs/default.nix
parentca92903abfddf42a18cc7dc4721700d68e84531f (diff)
chore(sterni/emacs): adjust to languagetool configuration changes r/3898
Change-Id: Ieaa49bebbe05d7298158839a59cd53ff1402da24
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5355
Reviewed-by: sterni <sternenseemann@systemli.org>
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/sterni/emacs/default.nix')
-rw-r--r--users/sterni/emacs/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/users/sterni/emacs/default.nix b/users/sterni/emacs/default.nix
index 0a03c15586cf..9119a2c4ec99 100644
--- a/users/sterni/emacs/default.nix
+++ b/users/sterni/emacs/default.nix
@@ -46,8 +46,10 @@ let
           (setq bqn-interpreter-path "${pkgs.cbqn}/bin/BQN")
 
           ;; languagetool
-          (setq languagetool-java-bin "${pkgs.jre}/bin/java")
-          (setq languagetool-language-tool-jar "${pkgs.languagetool}/share/languagetool-commandline.jar")
+          (setq languagetool-java-bin "${pkgs.jre}/bin/java"
+                languagetool-console-command "${pkgs.languagetool}/share/languagetool-commandline.jar"
+                languagetool-server-command "${pkgs.languagetool}/share/languagetool-server.jar"
+                languagetool-java-arguments '("-Dfile.encoding=UTF-8"))
 
           (provide 'nix-inject)
         '';