Iordanis Petkakis
Iordanis Petkakis
Does `:checkhealth snacks` show any kind of error out of the ordinary?
Unfortunately, I couldn't reproduce. Hopefully maintainer will have a better idea about what might be at fault.
That's because `vim.fn.foldlevel()` which is used by the statuscolumn returns the same number of level folding for those mappings. ```lua vim.keymap.set("n", "t", function()
Actually, if we change the line here https://github.com/folke/snacks.nvim/blob/bc0630e43be5699bb94dadc302c0d21615421d93/lua/snacks/statuscolumn.lua#L147 with the following `elseif config.folds.open and vim.treesitter.foldexpr(vim.v.lnum):sub(1, 1) == ">" then` I believe it behaves more to how you describe.
I see, you're right. I wasn't aware of that issue. Then probably my PR which essentially reverts the change that was made for that issue you mentioned will be denied....
I pushed a change which somewhat takes into consideration `vim.lsp.foldexpr()` as well, but there's a small caveat (which I mention in my PR). I'm sure maintainer will have a more...