Explore the source / nvim

Inside nvim.

Neovim modules, plugins, mappings, and shared theme. Browse the current public files here, or visit the nvim repository on GitHub.

nvim / main

lua/myconf/plugins/statuscol.lua

View on GitHub
return {
   "luukvbaal/statuscol.nvim",
   config = function()
      local builtin = require("statuscol.builtin")
      require("statuscol").setup({
         -- configuration goes here, for example:
         relculright = true,
         -- segments = {
         --   { text = { builtin.foldfunc }, click = "v:lua.ScFa" },
         --   {
         --     sign = { namespace = { "diagnostic/signs" }, maxwidth = 2, auto = true },
         --     click = "v:lua.ScSa"
         --   },
         --   { text = { builtin.lnumfunc }, click = "v:lua.ScLa", },
         --   {
         --     sign = { name = { ".*" }, maxwidth = 2, colwidth = 1, auto = true, wrap = true },
         --     click = "v:lua.ScSa"
         --   },
         -- }
      })
   end,
}