summaryrefslogtreecommitdiffstats
path: root/modules/by-name/nv/nvim/plgs/ltex_extra/default.nix
diff options
context:
space:
mode:
authorSoispha Peetz <soispha@b-peetz.de>2026-11-29 02:01:45 +0100
committerSoispha Peetz <soispha@b-peetz.de>2026-11-29 02:02:19 +0100
commit6e848af281b9ab480b7d3a5b3629d8b0966ab488 (patch)
tree7451573624052bbe1f9dfddc369c54d31066c47b /modules/by-name/nv/nvim/plgs/ltex_extra/default.nix
parentmodules/nvim/options: Include Swedish in the `spelllang` setting (diff)
downloadnixos-config-prime.zip
modules/nvim/plgs/ltex_extra: Patch to recognize `ltex-plus`HEADprime
Normally it would just look for `ltex_plus`.
Diffstat (limited to '')
-rw-r--r--modules/by-name/nv/nvim/plgs/ltex_extra/default.nix8
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;
};