2023-11-29 08:24:47 +00:00
|
|
|
return {
|
|
|
|
{
|
|
|
|
"luukvbaal/statuscol.nvim",
|
|
|
|
config = function()
|
|
|
|
local builtin = require("statuscol.builtin")
|
|
|
|
require("statuscol").setup({
|
|
|
|
ft_ignore = {
|
|
|
|
"neo-tree",
|
|
|
|
"toggleterm",
|
|
|
|
"dashboard",
|
2023-12-08 10:42:09 +00:00
|
|
|
"aerial",
|
2024-04-13 08:49:11 +00:00
|
|
|
"NvimTree",
|
2023-11-29 08:24:47 +00:00
|
|
|
},
|
|
|
|
segments = {
|
|
|
|
-- diagnostic signs
|
|
|
|
{
|
|
|
|
sign = {
|
|
|
|
name = { "Diagnostic" },
|
2024-03-03 20:09:02 +00:00
|
|
|
colwidth = 2,
|
2024-04-13 08:49:11 +00:00
|
|
|
maxwidth = 1,
|
2023-11-29 08:24:47 +00:00
|
|
|
},
|
2024-03-03 20:36:20 +00:00
|
|
|
auto = true,
|
2024-04-13 08:49:11 +00:00
|
|
|
click = "v:lua.ScSa",
|
2023-11-29 08:24:47 +00:00
|
|
|
},
|
|
|
|
-- line numbers
|
|
|
|
{
|
|
|
|
text = { builtin.lnumfunc, " " },
|
|
|
|
click = "v:lua.ScLa",
|
|
|
|
},
|
2023-12-08 10:42:09 +00:00
|
|
|
-- folds
|
|
|
|
{
|
|
|
|
text = { builtin.foldfunc },
|
2024-04-13 08:49:11 +00:00
|
|
|
click = "v:lua.ScFa",
|
2023-12-08 10:42:09 +00:00
|
|
|
},
|
2023-11-29 08:24:47 +00:00
|
|
|
-- git signs
|
|
|
|
{
|
|
|
|
sign = { namespace = { "gitsigns" } },
|
2024-04-13 08:49:11 +00:00
|
|
|
click = "v:lua.ScSa",
|
|
|
|
},
|
|
|
|
},
|
2023-11-29 08:24:47 +00:00
|
|
|
})
|
|
|
|
end,
|
2024-04-13 08:49:11 +00:00
|
|
|
},
|
2023-11-29 08:24:47 +00:00
|
|
|
}
|