nvim.nix/nvim/plugin/statuscol.lua
2024-03-06 02:24:31 +01:00

18 lines
403 B
Lua

if vim.g.did_load_statuscol_plugin then
return
end
vim.g.did_load_statuscol_plugin = true
local builtin = require('statuscol.builtin')
require('statuscol').setup {
setopt = true,
relculright = true,
segments = {
{ text = { '%s' }, click = 'v:lua.ScSa' },
{
text = { builtin.lnumfunc, ' ' },
condition = { true, builtin.not_empty },
click = 'v:lua.ScLa',
},
},
}