diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index 60342ce15359..b19049f2e798 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -25829,6 +25829,19 @@ final: prev: { meta.hydraPlatforms = [ ]; }; + zig-vim = buildVimPlugin { + pname = "zig.vim"; + version = "0-unstable-2026-05-02"; + src = fetchgit { + url = "https://codeberg.org/ziglang/zig.vim/"; + rev = "73f6856496aee1d94884f072dfad18df7977d4e3"; + hash = "sha256-I+nPSItC/0M8QTs1mVX7F+KjtezYpq9GFpUdsFl6bTE="; + }; + meta.homepage = "https://codeberg.org/ziglang/zig.vim/"; + meta.license = lib.licenses.unfree; + meta.hydraPlatforms = [ ]; + }; + zk-nvim = buildVimPlugin { pname = "zk-nvim"; version = "0.4.7-unstable-2026-03-13"; diff --git a/pkgs/applications/editors/vim/plugins/non-generated/zig-vim/default.nix b/pkgs/applications/editors/vim/plugins/non-generated/zig-vim/default.nix deleted file mode 100644 index bc2b9148b1a3..000000000000 --- a/pkgs/applications/editors/vim/plugins/non-generated/zig-vim/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ - lib, - vimUtils, - fetchFromCodeberg, - nix-update-script, -}: -vimUtils.buildVimPlugin { - pname = "zig.vim"; - version = "0-unstable-2026-04-13"; - - src = fetchFromCodeberg { - owner = "ziglang"; - repo = "zig.vim"; - rev = "30a1634b3a4193290dc3aad8f84c53b353b1d80f"; - hash = "sha256-2nr6csxVNDI/fRf0bsYcFKHWhvJe0vMkOT/J+4+EJaU="; - }; - - passthru.updateScript = nix-update-script { - extraArgs = [ "--version=branch" ]; - }; - - meta = { - description = "Vim configuration for Zig"; - homepage = "https://codeberg.org/ziglang/zig.vim/"; - license = lib.licenses.mit; - platforms = lib.platforms.all; - }; -} diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index 08984e2ccbb2..84d5eac84a7e 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -3898,7 +3898,7 @@ assertNoAdditions { ]; checkInputs = [ - # Transitive depedency of telescope.nvim + # Transitive dependency of telescope.nvim # Issue: https://github.com/NixOS/nixpkgs/issues/394939 self.plenary-nvim ]; @@ -5722,6 +5722,12 @@ assertNoAdditions { ]; }; + zig-vim = super.zig-vim.overrideAttrs (old: { + meta = old.meta // { + license = lib.licenses.mit; + }; + }); + zk-nvim = super.zk-nvim.overrideAttrs { checkInputs = with self; [ # Optional pickers diff --git a/pkgs/applications/editors/vim/plugins/vim-plugin-names b/pkgs/applications/editors/vim/plugins/vim-plugin-names index 0b7c2e4cbb56..33926878370a 100644 --- a/pkgs/applications/editors/vim/plugins/vim-plugin-names +++ b/pkgs/applications/editors/vim/plugins/vim-plugin-names @@ -1842,6 +1842,7 @@ https://github.com/sand4rt/zen.nvim/,, https://github.com/zenbones-theme/zenbones.nvim/,, https://github.com/jnurmine/zenburn/,, https://github.com/nvimdev/zephyr-nvim/,, +https://codeberg.org/ziglang/zig.vim/,, https://github.com/zk-org/zk-nvim/,, https://github.com/troydm/zoomwintab.vim/,, https://github.com/jalvesaq/zotcite/,,