home/editor: add languagetool
This commit is contained in:
parent
cd05295f56
commit
47004abbe5
2 changed files with 12 additions and 2 deletions
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -76,4 +76,7 @@
|
|||
|
||||
# Torrent
|
||||
# services.transmission.enable = true;
|
||||
|
||||
# Style and Grammar Checker
|
||||
services.languagetool.enable = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue