marshallward / vim-restructuredtext

Syntax file for reStructuredText on Vim.
26 stars 12 forks source link

Correctly end nested comments. #73

Closed anntzer closed 2 years ago

anntzer commented 2 years ago

Previously, a comment in a directive block would incorrectly mark all subsequent lines in the directive block as comment, because the syn-region did not check the leading indent. Fix that, with a test.

marshallward commented 2 years ago

Thanks, this seems to work very well. This problem has been bothering me as well for a while.

And (as usual) sorry for the slow response.

anntzer commented 2 years ago

No worries :)