diff options
author | sterni <sternenseemann@systemli.org> | 2022-05-25T19·04+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-05-26T11·47+0000 |
commit | 72f0c3b6c1fe4374ae095c103c5c67bea6cdcdb0 (patch) | |
tree | 5f854fc086256d945d3ef225f98d8d765a404371 /users/sterni/emacs | |
parent | 4bef7ef94648265f90f39e946836ad93affcec3a (diff) |
fix(sterni/emacs): reflect changed command name in languagetool.el r/4126
Also delete duplicate java-arguments while we're at it. Change-Id: I6e129f3aaefaa06e812d4dec36bd754fab4ab4e6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5674 Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'users/sterni/emacs')
-rw-r--r-- | users/sterni/emacs/default.nix | 3 | ||||
-rw-r--r-- | users/sterni/emacs/init.el | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/users/sterni/emacs/default.nix b/users/sterni/emacs/default.nix index f84a684d4fca..87f5c3002128 100644 --- a/users/sterni/emacs/default.nix +++ b/users/sterni/emacs/default.nix @@ -52,8 +52,7 @@ let ;; languagetool (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")) + languagetool-server-command "${pkgs.languagetool}/share/languagetool-server.jar") ;; use bash instead of fish from SHELL for some things, as it plays ;; nicer with TERM=dumb, as I don't need/want vterm anyways. diff --git a/users/sterni/emacs/init.el b/users/sterni/emacs/init.el index 9141a95d19ec..d20f8d92d8cc 100644 --- a/users/sterni/emacs/init.el +++ b/users/sterni/emacs/init.el @@ -289,7 +289,7 @@ (evil-define-key 'normal 'global (kbd "<leader>ll") 'languagetool-check) (evil-define-key 'normal 'global (kbd "<leader>lc") 'languagetool-correct-at-point) (evil-define-key 'normal 'global (kbd "<leader>ls") 'languagetool-set-language) - (evil-define-key 'normal 'global (kbd "<leader>lr") 'languagetool-clear-buffer)) + (evil-define-key 'normal 'global (kbd "<leader>lr") 'languagetool-clear-suggestions)) (unless (server-running-p) (server-start)) |