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
I noticed that if I have a quickfix window open, then it will show up in the cycle list and then I won't be able to cycle out of that buffer when it's selected. I think that this is because the exclude settings are not being taken into account when populating the list of buffers to cycle through. I found that these changes fixed the issue for me:
diff --git a/lua/cybu/init.lua b/lua/cybu/init.lua
index 3a384be..f02ac14 100644
--- a/lua/cybu/init.lua
+++ b/lua/cybu/init.lua
@@ -30,6 +30,9 @@ cybu.get_bufs = function()
if 1 ~= vim.fn.buflisted(id) then
return false
end
+ if vim.tbl_contains(c.opts.exclude, vim.fn.getbufvar(id, "&filetype")) then
+ return false
+ end
return true
end, vim.api.nvim_list_bufs())
Love the plugin btw 🙂
The text was updated successfully, but these errors were encountered:
I noticed that if I have a quickfix window open, then it will show up in the cycle list and then I won't be able to cycle out of that buffer when it's selected. I think that this is because the exclude settings are not being taken into account when populating the list of buffers to cycle through. I found that these changes fixed the issue for me:
Love the plugin btw 🙂
The text was updated successfully, but these errors were encountered: