Closed mehalter closed 6 days ago
Thanks for the quick fix! This works great as long as the user sets disable_signs
. I don't think that is always applicable. They might use statuscolumn
to change the order or signs and numbers and things and in that case the user still will get some bad looking stuff even if they still rely on the signs to see the fold indicators in Neogit. It seems like the only reason status_column
would be getting changed is simply to "remove" things which should be done with :set nonumber
, :set foldcolumn=0
, and :set norelnum
.
Luckily I'm not in this case so for me simply disabling all of the indicators is totally fine for me so maybe this isn't an issue that matters. Thanks for your help!
Description
I use a custom
statuscolumn
to nicely display folds which a lot of the time works perfectly with Neogit since it adds in folds for things. But I noticed some recent update has made a lot of buffers break the pretty folds and reverse my customstatuscolumn
completely causing things to look ugly again.Neovim version
NVIM v0.10.0 Build type: Release LuaJIT 2.1.1713484068
Operating system and version
Arch linux
Steps to reproduce
nvim -u minimal.lua
, start up the minimal configurationcd <some_git_dir>
, change directories to a git tracked directory:Neogit
, open neogit and see that the folds look nice (notice the>
andv
with a nice line in the fold area, ignore the signs added by neogit as I didn't disable them to show both the signs and the foldcolumn):set statuscolumn?
, see that it is set to our custom statuscolumn:set statuscolumn?
, see that it is not set to our custom statuscolumnExpected behavior
Neogit should not modify my statuscolumn at all. If they want to modify information that is shown in a buffer then it should change things like
set foldcolumn?
,set number?
, etc.That way I can get the look that I have configured
Actual behavior
My custom
statuscol
is completely removed and is now just using the default columns from neovim.Minimal config