Closed Rishabh672003 closed 2 years ago
my best guess is that something in nvim-tree changes that made the interaction different, it's happened before. i'm gonna see if i can hook into wincmds with the autocmd api so that this doesn't happen again.
well, I can't apparentlly. I'm not sure any of the existing autocmd events will let me do that. it's just some quirk of nvim-tree, toggleterm works fine for me for example
adding this autocmd to your setup function should hotfix the behavior
vim.api.nvim_create_autocmd({ 'CursorMoved' }, {
group = vim.api.nvim_create_augroup("alpha_temp", {
clear = false
}),
pattern = '*',
callback = function() alpha.redraw(conf, state) end,
})
truthfully this will probably always behave jankily until https://github.com/neovim/neovim/issues/11532
i pushed a mildly more safe hotfix actually, this should be fixed (to the end user :p) now
@goolord yeah that seems to fix it, thank you
here's video of it happening - https://imgur.com/a/EjfCg7s
and here's my nvim-tree and alpha configs - alpha-dashboard, nvim-tree