Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion lua/config/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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"),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Remove the comma from the version range

vim.version.range() uses npm-style comparator syntax, where comparators in the same set are separated by whitespace rather than commas. Here the comma is parsed as part of 1.10.0,, making the range invalid while package_list is evaluated and preventing the plugin configuration from loading. Use a valid expression such as vim.version.range(">=1.10.0 <2.0.0") (or retain the previous exact pin).

Useful? React with 👍 / 👎.

},
{ 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
Expand Down
Loading