You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function M:is(other)
if not other then
return false
end
if self == other then
return true
end
if self.id ~= other.id then
return false
end
- if self.group ~= other.group then+ if not vim.deep_equal(self.group, other.group) then
return false
end
if self.group then
return true
end
assert(self.item, "missing item")
if not other.item then
return false
end
if self.item == other.item then
return true
end
return self.item.id and (self.item.id == other.item.id)
end
However, I'm unsure if this is the intended behavior, so I need to seek more information. In any case, to better illustrate the issue, I have recorded a video.
2024-07-11.234051.mp4
Best regards!
Steps To Reproduce
see above
Expected Behavior
see above
Repro
-- DO NOT change the paths and don't remove the colorschemelocalroot=vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .reprofor_, nameinipairs({ "config", "data", "state", "cache" }) dovim.env[("XDG_%s_HOME"):format(name:upper())] =root.."/" ..nameend-- bootstrap lazylocallazypath=root.."/plugins/lazy.nvim"ifnotvim.loop.fs_stat(lazypath) thenvim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
endvim.opt.runtimepath:prepend(lazypath)
-- install pluginslocalplugins= {
"folke/tokyonight.nvim",
{ "folke/trouble.nvim", opts= {} },
-- add any other plugins here
}
require("lazy").setup(plugins, {
root=root.."/plugins",
})
vim.cmd.colorscheme("tokyonight")
-- add anything else here
The text was updated successfully, but these errors were encountered:
Did you check docs and existing issues?
Neovim version (nvim -v)
lastest
Operating system/version
linux
Describe the bug
I believe I have identified the cause; it seems to be due to this condition failing.
trouble.nvim/lua/trouble/view/init.lua
Lines 674 to 683 in 4453fea
trouble.nvim/lua/trouble/tree.lua
Lines 148 to 150 in 4453fea
After modifying it this way, it works correctly.
However, I'm unsure if this is the intended behavior, so I need to seek more information. In any case, to better illustrate the issue, I have recorded a video.
2024-07-11.234051.mp4
Best regards!
Steps To Reproduce
see above
Expected Behavior
see above
Repro
The text was updated successfully, but these errors were encountered: