home/editor: add languagetool

This commit is contained in:
Dmitriy Pleshevskiy 2023-09-29 11:38:06 +03:00
parent cd05295f56
commit 47004abbe5
Signed by: pleshevskiy
GPG key ID: 79C4487B44403985
2 changed files with 12 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ pkgs, ... }:
let
myneovim = pkgs.myneovim.override {
@ -67,6 +67,10 @@ let
};
};
pylsp = { };
ltex = {
language = "en-US";
languageToolHttpServerUri = "http://localhost:8081";
};
};
};
lualine.settings = {
@ -92,7 +96,10 @@ let
};
in
{
home.packages = [ myneovim ];
home.packages = [
pkgs.ltex-ls
myneovim
];
home.sessionVariables.EDITOR = "nvim";
}

View file

@ -76,4 +76,7 @@
# Torrent
# services.transmission.enable = true;
# Style and Grammar Checker
services.languagetool.enable = true;
}