statuscol.nvim icon indicating copy to clipboard operation
statuscol.nvim copied to clipboard

Combine fold column and sign column

Open yochem opened this issue 1 year ago • 3 comments

Is it possible to combine the fold and sign column? Here's an example:

image

I hacked it together, but it does not work very well yet. E.g., the clicking can only work for either the sign, or the fold marker.

I'm using nvim-ufo for folding. I also tried the following:

sign = { namespace = { "ufo", "diagnostic" } },

But that did not show the fold marks for ufo.

yochem avatar Sep 30 '24 13:09 yochem

this is really what i want

in order to implement this i spent a few days

now i think i have implemented it

if you want to know how to do this

you can check my dotfiles repository

there is a lua file named foldsign and another named statuscolumn which are used to implemented this feature

Kaiser-Yang avatar Jul 22 '25 16:07 Kaiser-Yang

@Kaiser-Yang have you deleted these lua configs? Something went wrong?

FY0u11 avatar Oct 23 '25 20:10 FY0u11

@Kaiser-Yang have you deleted these lua configs? Something went wrong?

fold_sign.lua and statuscol.lua

The result looks like:

Image

Kaiser-Yang avatar Oct 24 '25 07:10 Kaiser-Yang