aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <cody@hiar.ca>2022-06-12 15:15:51 -0600
committerCody Hiar <cody@hiar.ca>2022-06-12 15:15:51 -0600
commit1cb2da4649d8b5de542f793cd9ff91955ee96519 (patch)
tree254d5fabc05cd632b559104b4e27bfbee5252b7e
parentd1c821eced6e1ae02b4e0b303cd8388d38e6943c (diff)
Add languagetool
-rw-r--r--flake.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index a062e6d..e790c72 100644
--- a/flake.nix
+++ b/flake.nix
@@ -51,6 +51,7 @@
lua << EOF
${pkgs.lib.readFile ./init.lua}
EOF
+ let g:languagetool_server_command = '${languagetool}/bin/languagetool-http-server'
'';
packages.myPlugins = with vimPlugins; {
start = [
@@ -86,6 +87,7 @@
vim-oscyank
ack-vim
vim-angry-reviewer
+ LanguageTool-nvim
];
};
};
@@ -112,6 +114,7 @@
shellcheck
hadolint
nixfmt
+ languagetool
]
}
makeWrapper ${myneovim}/bin/nvim $out/bin/nvim --prefix PATH : $BINPATH