From 2d6a86848549e917b3f2ab60fbee5d9ec30d1587 Mon Sep 17 00:00:00 2001 From: Nikita Rudenko Date: Sun, 9 Aug 2026 01:36:47 +0300 Subject: [PATCH] vimPlugins.jupytext-nvim: fix healthcheck on neovim 0.11+ --- pkgs/applications/editors/vim/plugins/overrides.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index 8b9f872da199..86830b444405 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -2032,6 +2032,14 @@ assertNoAdditions { }); jupytext-nvim = super.jupytext-nvim.overrideAttrs (old: { + # `vim.health.report_*` was removed in neovim 0.11, which makes + # `:checkhealth jupytext` error out. Upstream is inactive and has several + # open PRs for this, e.g. + # https://github.com/GCBallesteros/jupytext.nvim/pull/40 + postPatch = '' + substituteInPlace lua/jupytext/health.lua \ + --replace-fail "vim.health.report_" "vim.health." + ''; passthru = old.passthru // { python3Dependencies = ps: [ ps.jupytext ]; };