mirror of
https://github.com/pnx/dotfiles
synced 2026-06-18 12:00:02 +02:00
nvim: editor: restructure statuscolumn
This commit is contained in:
parent
3b0f093490
commit
a14642c07f
1 changed files with 12 additions and 14 deletions
|
|
@ -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 = { "│ " } },
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue