diff options
| author | Soispha Peetz <soispha@b-peetz.de> | 2026-11-29 02:01:45 +0100 |
|---|---|---|
| committer | Soispha Peetz <soispha@b-peetz.de> | 2026-11-29 02:02:19 +0100 |
| commit | 6e848af281b9ab480b7d3a5b3629d8b0966ab488 (patch) | |
| tree | 7451573624052bbe1f9dfddc369c54d31066c47b /modules/by-name/nv/nvim/plgs/ltex_extra/default.nix | |
| parent | modules/nvim/options: Include Swedish in the `spelllang` setting (diff) | |
| download | nixos-config-prime.zip | |
Normally it would just look for `ltex_plus`.
Diffstat (limited to '')
| -rw-r--r-- | modules/by-name/nv/nvim/plgs/ltex_extra/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/by-name/nv/nvim/plgs/ltex_extra/default.nix b/modules/by-name/nv/nvim/plgs/ltex_extra/default.nix index 71250a70..965f6652 100644 --- a/modules/by-name/nv/nvim/plgs/ltex_extra/default.nix +++ b/modules/by-name/nv/nvim/plgs/ltex_extra/default.nix @@ -11,7 +11,13 @@ home-manager.users.soispha.programs.nixvim = { # TODO: package ltex_extra though a module extraPlugins = [ - pkgs.vimPlugins.ltex_extra-nvim + (pkgs.vimPlugins.ltex_extra-nvim.overrideAttrs (final: prev: { + patches = + (prev.patches or []) + ++ [ + ./0001-ltex_extra-commands-lsp.lua-Also-support-ltex-plus-a.patch + ]; + })) ]; plugins.lsp.servers.ltex_plus.onAttach.function = builtins.readFile ./lua/ltex_extra.lua; }; |
