about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-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)
         '';