nvim.nix/nvim/plugin/statuscol.lua

19 lines
403 B
Lua
Raw Normal View History

2024-03-06 02:24:31 +01:00
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',
},
},
}