-
Notifications
You must be signed in to change notification settings - Fork 85
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
Random error messages when quickly moving tabs #590
Comments
Note: I am on 165Hz monitor, perhaps it sends mouse events quicker or something? Just a guess |
Potentially related: #550 |
Luckily doesn't seem to cause many issues, is there way to suppress these errors until a fix? |
Not a clean one 😅 I'll try to take a look at this soon. |
Took a quick look at this, just reporting my findings so far (side note: I actually use I was able to reproduce the issue right away with the config Edit: I created a minimal repro that works with my config too --[[ minimal.lua ]]
local lazy = vim.fn.stdpath('data') .. '/lazy/'
vim.opt.rtp:prepend {
lazy .. 'barbar.nvim',
lazy .. 'nvim-web-devicons',
}
vim.g.barbar_auto_setup = false
require('barbar').setup {
-- additional options
}
-- additional code
vim.api.nvim_create_autocmd('VimEnter', {
callback = vim.schedule_wrap(function()
-- additional post-startup code
vim.cmd [[
for file in ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "x", "y", "z"]
execute "edit " .. file
endfor
]]
end),
}) @nonetrix for now setting |
I set up some debug logging to inspect this further, and captured the following state here:
This leads me to believe that the problem is manifesting here, as the It seems |
Description
When quickly moving tabs you will get a lot of errors randomly, I assume I could just turn these off and ignore them automatically somehow. However, this seems like plugin itself has a bug that causes this in the first place and it should be fixed at the root. Here is a example of one I got quickly dragging tabs with mouse on Kitty
To Reproduce
init.vim:
It's in Nix sorry :(
Steps to reproduce the behavior:
Screenshots
Informations (note information is misspelled here in the template, small mistake but I noticed. Best of luck no harm meant:-) )
Neovim version: v0.10.0
The text was updated successfully, but these errors were encountered: