Closed serhez closed 5 months ago
This problem is still related to the treesitter option. Treesitter seems to determine that the docstring indentation of Python is 0 by default. To solve it, a lot of special judgments must be added, so it will not be fixed in the near future.
It seems that the best option for now is to disable the treesitter option then, thanks!
In fact, except for this issue, I have fixed the previous two. If you can tolerate such a little bit of unsightliness, this option is still very nice~
I will push the patch to main brach later
In fact, except for this issue, I have fixed the previous two. If you can tolerate such a little bit of unsightliness, this option is still very nice~
I will push the patch to main brach later
What would you say are the advantages of the treesitter option? I've been using the plugin today with treesitter = false
and I haven't noticed anything much different, besides the indent lines not occluding real text.
if use treesitter
, the last line show like this
else
Using treesitter
can reduce such visual interference, but I have plans to improve the display of the latter in the future.
That makes sense, thanks for the example! ❤️
fixed in dev branch, welcome to experience
Thanks!
Describe the bug Indent lines are not shown in Python docstrings, as shown in the screenshot below.
To Reproduce You can try the code in the screenshot. My config:
Expected behavior I would expect the indent lines to be shown for the docstrings.
Screenshots