about summary refs log tree commit diff
path: root/users/sterni/emacs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/sterni/emacs/default.nix')
-rw-r--r--users/sterni/emacs/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/users/sterni/emacs/default.nix b/users/sterni/emacs/default.nix
index a3946a47972a..606fcb14e09e 100644
--- a/users/sterni/emacs/default.nix
+++ b/users/sterni/emacs/default.nix
@@ -16,6 +16,7 @@ let
     epkgs.melpaPackages.dockerfile-mode
     epkgs.melpaPackages.haskell-mode
     epkgs.melpaPackages.jq-mode
+    epkgs.melpaPackages.languagetool
     epkgs.melpaPackages.markdown-mode
     epkgs.melpaPackages.nix-mode
     epkgs.melpaPackages.sly
@@ -40,8 +41,13 @@ let
         name = "injected-emacs.d";
         destination = "/nix-inject.el";
         text = ''
+          ;; bqn-mode
           (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")
+
           (provide 'nix-inject)
         '';
       })