diff --git a/home/modules/editor.nix b/home/modules/editor.nix index 35eabab..e10c49a 100644 --- a/home/modules/editor.nix +++ b/home/modules/editor.nix @@ -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"; } diff --git a/nixos/hosts/asus-gl553vd/default.nix b/nixos/hosts/asus-gl553vd/default.nix index c7bcae9..8aabc97 100644 --- a/nixos/hosts/asus-gl553vd/default.nix +++ b/nixos/hosts/asus-gl553vd/default.nix @@ -76,4 +76,7 @@ # Torrent # services.transmission.enable = true; + + # Style and Grammar Checker + services.languagetool.enable = true; }