In Lua, using .. to concatenate strings will create a new level, but it shouldn't:
Case 2
Using nerd-font symbols(probably related to Unicode? which will make solving this problem hard) will make the calculation incorrect, so there will be some "black boxes/rectangles" like this:
If I further scroll horizontally, then this second case is basically issue #4, i.e. those "black boxes" got wider.
Coloring also seems to be wrong for go code in general.
I wonder if it would be possible to use the same indent information that Treesitter uses for folds.
Case 1
In Lua, using
..
to concatenate strings will create a new level, but it shouldn't:Case 2
Using nerd-font symbols(probably related to Unicode? which will make solving this problem hard) will make the calculation incorrect, so there will be some "black boxes/rectangles" like this:
If I further scroll horizontally, then this second case is basically issue #4, i.e. those "black boxes" got wider.