Skip to content

Commit

Permalink
feat: replace nightly requirement with Neovim >= 0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed May 16, 2024
1 parent 6edb49f commit db09871
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion installer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

local min_version = "0.10.0"
if vim.fn.has("nvim-" .. min_version) ~= 1 then
error(("rocks.nvim requires Neovim %s (nightly)"):format(min_version))
error(("rocks.nvim requires Neovim >= %s"):format(min_version))
end

--- The buffer ID of the main UI
Expand Down
2 changes: 1 addition & 1 deletion plugin/rocks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ end

local min_version = "0.10.0"
if vim.fn.has("nvim-" .. min_version) ~= 1 then
vim.notify_once(("rocks.nvim requires Neovim %s (nightly)"):format(min_version), vim.log.levels.ERROR)
vim.notify_once(("rocks.nvim requires Neovim >= %s"):format(min_version), vim.log.levels.ERROR)
return
end

Expand Down

0 comments on commit db09871

Please sign in to comment.