From 07dcf163761c84c0724634f43aeb04f6cf5aa20d Mon Sep 17 00:00:00 2001 From: Perchun Pak Date: Thu, 9 Apr 2026 13:25:31 +0200 Subject: [PATCH] vimPlugins.cmp-async-path: move back to generated.nix --- .../editors/vim/plugins/generated.nix | 12 +++++++ .../non-generated/cmp-async-path/default.nix | 31 ------------------- .../editors/vim/plugins/overrides.nix | 4 +++ .../editors/vim/plugins/vim-plugin-names | 1 + 4 files changed, 17 insertions(+), 31 deletions(-) delete mode 100644 pkgs/applications/editors/vim/plugins/non-generated/cmp-async-path/default.nix diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index fd14f2ec7804..4a85724bf730 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -2439,6 +2439,18 @@ final: prev: { meta.hydraPlatforms = [ ]; }; + cmp-async-path = buildVimPlugin { + pname = "cmp-async-path"; + version = "0-unstable-2026-01-28"; + src = fetchgit { + url = "https://codeberg.org/FelipeLema/cmp-async-path/"; + rev = "f8af3f726e07f2e9d37672eaa9102581aefce149"; + hash = "sha256-ALMK7TnEB7/UZibVgOl4r6/gYsHCo6YAZcAR536VL4g="; + }; + meta.homepage = "https://codeberg.org/FelipeLema/cmp-async-path/"; + meta.hydraPlatforms = [ ]; + }; + cmp-beancount = buildVimPlugin { pname = "cmp-beancount"; version = "0-unstable-2025-11-26"; diff --git a/pkgs/applications/editors/vim/plugins/non-generated/cmp-async-path/default.nix b/pkgs/applications/editors/vim/plugins/non-generated/cmp-async-path/default.nix deleted file mode 100644 index 29ffe4e42c07..000000000000 --- a/pkgs/applications/editors/vim/plugins/non-generated/cmp-async-path/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ - lib, - vimUtils, - fetchFromCodeberg, - nix-update-script, - vimPlugins, -}: -vimUtils.buildVimPlugin { - pname = "cmp-async-path"; - version = "0-unstable-2026-01-28"; - - src = fetchFromCodeberg { - owner = "FelipeLema"; - repo = "cmp-async-path"; - rev = "f8af3f726e07f2e9d37672eaa9102581aefce149"; - hash = "sha256-ALMK7TnEB7/UZibVgOl4r6/gYsHCo6YAZcAR536VL4g="; - }; - - checkInputs = [ vimPlugins.nvim-cmp ]; - - passthru.updateScript = nix-update-script { - extraArgs = [ "--version=branch" ]; - }; - - meta = { - description = "Nvim-cmp source for filesystem paths with async processing"; - homepage = "https://codeberg.org/FelipeLema/cmp-async-path/"; - 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 95a1c87e0d60..f3585b278533 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -510,6 +510,10 @@ assertNoAdditions { ]; }; + cmp-async-path = super.cmp-async-path.overrideAttrs { + checkInputs = [ self.nvim-cmp ]; + }; + cmp-beancount = super.cmp-beancount.overrideAttrs { checkInputs = [ self.nvim-cmp ]; }; diff --git a/pkgs/applications/editors/vim/plugins/vim-plugin-names b/pkgs/applications/editors/vim/plugins/vim-plugin-names index 3ae0bae855bb..89fe2f079d2d 100644 --- a/pkgs/applications/editors/vim/plugins/vim-plugin-names +++ b/pkgs/applications/editors/vim/plugins/vim-plugin-names @@ -186,6 +186,7 @@ https://github.com/Civitasv/cmake-tools.nvim/,, https://github.com/winston0410/cmd-parser.nvim/,, https://github.com/vim-scripts/cmdalias.vim/,HEAD, https://github.com/tzachar/cmp-ai/,HEAD, +https://codeberg.org/FelipeLema/cmp-async-path/,HEAD, https://github.com/crispgm/cmp-beancount/,HEAD, https://github.com/hrsh7th/cmp-buffer/,, https://github.com/hrsh7th/cmp-calc/,,