diff options
Diffstat (limited to 'users')
-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)) |