1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-18 20:10:03 +02:00

nvim: editor: restructure statuscolumn

This commit is contained in:
Henrik Hautakoski 2024-09-07 16:30:29 +02:00
parent 3b0f093490
commit a14642c07f

View file

@ -43,27 +43,25 @@ return {
-- Align current relative number to the right. -- Align current relative number to the right.
relculright = true, relculright = true,
segments = { segments = {
{ text = { " " } },
{
click = "v:lua.ScSa",
sign = {
namespace = { ".*" },
maxwidth = 1,
},
},
{
text = { builtin.lnumfunc, " " },
click = "v:lua.ScLa",
},
{ {
click = "v:lua.ScSa", click = "v:lua.ScSa",
sign = { sign = {
namespace = { "gitsigns" }, namespace = { "gitsigns" },
maxwidth = 1, maxwidth = 1,
colwidth = 1,
} }
}, },
{
click = "v:lua.ScSa",
sign = {
namespace = { "diagnostic/signs" },
maxwidth = 1,
colwidth = 3,
-- auto = true,
}
},
{
text = { builtin.lnumfunc, " " },
click = "v:lua.ScLa",
},
-- { text = { builtin.foldfunc, " " }, click = "v:lua.ScFa" }, -- { text = { builtin.foldfunc, " " }, click = "v:lua.ScFa" },
{ text = { "" } }, { text = { "" } },
} }