dotfiles/modules/programs/nvim/plugins/lua/statuscol-nvim.lua

23 lines
516 B
Lua
Raw Normal View History

2023-08-12 16:51:16 +02:00
vim.o.fillchars = [[eob: ,fold: ,foldopen:,foldsep: ,foldclose:]]
local builtin = require("statuscol.builtin")
require("statuscol").setup({
segments = {
{
sign = { name = { ".*" }, auto = true },
click = "v:lua.ScSa",
},
{
text = { builtin.lnumfunc },
click = "v:lua.ScLa",
},
{
2023-10-28 15:19:53 +02:00
sign = { namespace = { "gitsigns*" }, auto = true },
2023-08-12 16:51:16 +02:00
click = "v:lua.ScSa",
},
{
text = { builtin.foldfunc, "" },
click = "v:lua.ScFa",
},
},
})