summaryrefslogtreecommitdiff
path: root/test/regression/5147-python-block-comment-paragraphs/exit-block/cmd
AgeCommit message (Collapse)Author
2024-06-11Tweak python block command test location and remove wall of textMaxime Coste
We do not typically go into lengthy explanation of the code in the support scripts. This would have a performance impact (as comments are not trimmed in advance) and feels out of place.
2024-06-07Support paragraph breaks in python block comments.Simon Fowler
The current python filetype module treats a single empty comment line (typically created by hitting enter twice while in a block comment) as the end of a block comment, deleting the empty comment and ending comment prefix copying. This runs contrary to PEP8, which explicitly allows for paragraphs in block comments, with an empty comment as the paragraph separator. This change implements support for using a single empty comment as a paragraph separator, with two consecutive empty comments being treated as the end of the block comment; both empty comment lines are deleted and comment prefix copying is ended.