From 5cabe369ed9ddafd1f07f579f492eaddd58def3b Mon Sep 17 00:00:00 2001 From: sterni Date: Sun, 6 Mar 2022 23:48:51 +0100 Subject: chore(sterni/emacs): adjust to languagetool configuration changes Change-Id: Ieaa49bebbe05d7298158839a59cd53ff1402da24 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5355 Reviewed-by: sterni Autosubmit: sterni Tested-by: BuildkiteCI --- users/sterni/emacs/default.nix | 6 ++++-- 1 file 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) ''; -- cgit 1.4.1