From 0ebc64a2328fc0a0532f9544eb6c6e297135962e Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Tue, 7 Jan 2025 16:20:27 -0300 Subject: [PATCH] plugins/blink-cmp: remove forced version override The blink-cmp package now has a patch that fixes this. --- plugins/by-name/blink-cmp/default.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/plugins/by-name/blink-cmp/default.nix b/plugins/by-name/blink-cmp/default.nix index be8904e4..491fcf02 100644 --- a/plugins/by-name/blink-cmp/default.nix +++ b/plugins/by-name/blink-cmp/default.nix @@ -44,11 +44,5 @@ lib.nixvim.plugins.mkNeovimPlugin { warnings = lib.optional (cfg.settings ? documentation) '' Nixvim(plugins.blink): `settings.documentation` does not correspond to a known setting, use `settings.windows.documentation` instead. ''; - - # After version 0.8.2, if we don't force the version, the plugin return an error after being loaded. - # This happens because when we use nix to install the plugin, blink.cmp can't find the git hash or git tag that was used to build the plugin. - plugins.blink-cmp.settings.fuzzy.prebuilt_binaries.force_version = lib.mkIf ( - builtins.compareVersions cfg.package.version "0.8.2" >= 0 - ) (lib.mkDefault "v${cfg.package.version}"); }; }