Closed encleine closed 2 months ago
Make sure to fix misbehaving plugin managers like lazy.nvim
, by adding the VeryLazy setup option:
{ 'vimpostor/vim-tpipeline', event = 'VeryLazy'}
Otherwise lazy.nvim
completely wrecks havoc in the startup sequence:
lazy.nvim does NOT use Neovim packages and even disables plugin loading completely (vim.go.loadplugins = false).
And this is not even for any good reason, this snakeoil lazy-loading "optimization" from lazy.nvim
is just for fake benchmark points, i.e. the numbers will disappear from --startuptime
, but will still take and block for exactly as long at the end of startup.
Instead this plugin and any sane plugin is already using the autoload
mechanism to load functionality on demand, so there isn't even a need for these bullshit tricks (at least not for normal Vim plugins using autoload
).
For more info see: https://github.com/vimpostor/vim-tpipeline/pull/66#issuecomment-2285862887
The reason that in this case the startup sequence matters, is because you are using another plugin that misbehaves. lualine
for some strange reason decided to abandon idiomatic vim statusline handling and implemented their own weird timer based statusline handling, which among others resets the local statusline
option for every single window during every single update. For more info read:
Due to this there are some workarounds necessary for lualine, that rely on the normal startup sequence.
As for your problem with the statusline appearing in split windows, take a look at :h g:tpipeline_clearstl
, see: https://github.com/vimpostor/vim-tpipeline/issues/19
sorry for the duplicate issue the workarounds seemed to work minus the right part of the statusline disappearing which I guess is another lualine problem
thanks for the detailed response as well
No, if you don't see the right part, that shouldn't conflict with anything in lualine. Could you repost the debug output and the config to reproduce that?
it's odd because after restarting tmux a couple of times it fixed itself and I can't seem to reproduce it maybe an error on my side
No worries, I will close the issue then.
Describe the bug
when making a vertical split in neovim a duplicate statusline is made on top of the split buffer
To reproduce
empty config with just lualine and vim-tpipeline
using lazy
with the default changes from the README
Expected behavior
the statusline only appearing on the bottom where the tmux bar is
Terminal emulator
kitty terminal
Debug output