summaryrefslogtreecommitdiffstats
path: root/modules/by-name/nv/nvim/plgs/ltex_extra/default.nix
diff options
context:
space:
mode:
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;
};