Closed serhez closed 8 months ago
Given that there seem to be a lot of cases where real text is hidden by virtual text (the indent lines), is it possible to tackle this problem at the root by having some sort of check that the cell where the indent line virtual text will be placed is empty (i.e., it's a space, tab, newline, etc.)? I'm not sure how this plugin is implemented, but it seems very tedious to attempt to solve these problems one by one.
I would also like to say that these types of problems (hiding real text) are not rare at all. I love this plugin (thanks <3) but it's hardly usable because very often I can't see the first character of my code.
I'm sorry for the late reply because I have been busy with some other things recently. At the same time, I also feel that maintaining version 1.0.0 has become very difficult, so I am trying to make some big refactoring. I will also try to fix the issues you mentioned in the latest version. thanks~
Don't be sorry, thanks for making the plugin open source! Is there a branch for developing the new version?
yes, but i haven't push the branch
Describe the bug The first character of some lines is hidden by the indent lines. In the screenshot, you can see that the closing parenthesis of the
if
statement is hidden, as well as the first character ofand
andlen
.To Reproduce Replicate the code in the screenshot. I have the following config:
Expected behavior I expect the indent lines to never cover real text.
Screenshots