From b6a959777367eb35122ad176db7c38bb2ce22c4e Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Wed, 1 Mar 2023 01:21:59 -0600 Subject: [PATCH] fix(nvim): correct setup statuscol --- .../primary/config/lua/plugins/plugins.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dots/.nvim-environments/primary/config/lua/plugins/plugins.lua b/dots/.nvim-environments/primary/config/lua/plugins/plugins.lua index 596f049f..2d1b58aa 100755 --- a/dots/.nvim-environments/primary/config/lua/plugins/plugins.lua +++ b/dots/.nvim-environments/primary/config/lua/plugins/plugins.lua @@ -388,11 +388,18 @@ lazy.setup({ { "luukvbaal/statuscol.nvim", - event = "VeryLazy", + event = "BufReadPost", config = function() + local builtin = require("statuscol.builtin") require("statuscol").setup({ foldfunc = "builtin", setopt = true, + relculright = false, + segments = { + { text = { "%s" }, click = "v:lua.ScSa" }, + { text = { builtin.lnumfunc }, click = "v:lua.ScLa" }, + { text = { " ", builtin.foldfunc, " " }, click = "v:lua.ScFa" }, + }, }) end, },