From 5123337cbffbc4a53b9ea759f7f24a3f663733d6 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 24 Aug 2026 13:23:22 +0000 Subject: [PATCH] [audit] fix: bound blink.cmp version range to stay off v2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit vim.version.range("1.10.0") is a single-arg open range (>= 1.10.0, no upper bound), the same anti-pattern already flagged for fff.nvim in #261 — so the pin doesn't actually block a future blink.cmp v2 install, despite #271 already documenting that v2 is a breaking config-structure rewrite. Add the explicit upper bound #271 recommended but that was never applied to plugins.lua. --- lua/config/plugins.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lua/config/plugins.lua b/lua/config/plugins.lua index f3f76ca..452148c 100644 --- a/lua/config/plugins.lua +++ b/lua/config/plugins.lua @@ -24,7 +24,11 @@ local package_list = { -- main migrated to the new vim.pos.cursor(target) API (0.13-dev after -- a952575c3b still has the old (buf, pos) signature -> "pos: expected -- table, got nil"); unpin once nvim is updated past that change - version = vim.version.range("1.10.0"), + -- + -- upper bound keeps this off blink.cmp v2 once it ships: vim.version.range() + -- with a single arg is an open range (>= 1.10.0, no ceiling), so v2 would + -- otherwise install silently and break the setup({}) config structure (#271) + version = vim.version.range(">= 1.10.0, < 2.0.0"), }, { name = "sneaks.vim", src = "https://github.com/justinmk/vim-sneak" }, -- remaps s/S intentionally { name = "guh.nvim", src = "https://github.com/justinmk/guh.nvim" }, -- gh wrapper in nvim