-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Indent lines are not shown in Python docstrings #77
Comments
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 |
What would you say are the advantages of the treesitter option? I've been using the plugin today with |
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
The text was updated successfully, but these errors were encountered: