Skip to content

Fold Column, remove depth digits #139

Closed Answered by luukvbaal
augustocdias asked this question in Q&A
Discussion options

You must be logged in to vote

The builtin foldfunc segment hides the foldcolumn digits so your config should include that. This is what I use:

      local builtin = require("statuscol.builtin")
      require("statuscol").setup({
        bt_ignore = {"terminal", "nofile"},
        relculright = true,
        segments = {
          {text = {builtin.foldfunc}, click = "v:lua.ScFa"},
          {
            sign = {namespace = {"diagnostic"}, maxwidth = 1, colwidth = 2, auto = true, foldclosed = true},
            click = "v:lua.ScSa"
          },
          {text = {builtin.lnumfunc}, click = "v:lua.ScLa"},
          {
            sign = {name = {".*"}, text = {".*"}, maxwidth = 2, colwidth = 1, auto = true, foldclosed = t…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@augustocdias
Comment options

@luukvbaal
Comment options

@augustocdias
Comment options

Answer selected by augustocdias
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants