Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin using version always marked with "updates available" #54

Closed
mosheavni opened this issue Dec 21, 2022 · 1 comment · Fixed by #55
Closed

plugin using version always marked with "updates available" #54

mosheavni opened this issue Dec 21, 2022 · 1 comment · Fixed by #55
Labels
bug Something isn't working

Comments

@mosheavni
Copy link
Contributor

mosheavni commented Dec 21, 2022

I'm installing bufferline:

  {
    'akinsho/bufferline.nvim',
    version = '^3',
    config = function()
      require 'user.plugins.bufferline'
    end,
  },

but for some reason, even though the tag doesn't change (v.3.1.0 as of writing this post), every check says that there are updates to this plugin.

reproduced with minimal configurations:

minimal.lua
local function join_paths(...)
  local result = table.concat({ ... }, '/')
  return result
end

local temp_dir = vim.loop.os_getenv 'TEMP' or '/tmp'
local package_root = join_paths(temp_dir, 'nvim', 'site', 'lazy')
local lazypath = join_paths(temp_dir, 'nvim', 'site') .. '/lazy/lazy.nvim'
if not vim.loop.fs_stat(lazypath) then
vim.fn.system {
'git',
'clone',
'--filter=blob:none',
'--single-branch',
'https://github.com/folke/lazy.nvim.git',
lazypath,
}
end
vim.opt.runtimepath:prepend(lazypath)

require('lazy').setup({
{
'akinsho/bufferline.nvim',
version = '^3',
config = function()
require 'user.plugins.bufferline'
end,
},
}, {
root = package_root,
})

@mosheavni mosheavni added the bug Something isn't working label Dec 21, 2022
@folke folke closed this as completed in 86eaa11 Dec 21, 2022
@mosheavni
Copy link
Contributor Author

thanks dear @folke 🙏🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant