AndreaCrotti / yasnippet-snippets

a collection of yasnippet snippets for many languages
GNU General Public License v3.0
1.15k stars 461 forks source link

FIX: Single semicolon at beginning was indented. #454

Closed quazgar closed 6 months ago

quazgar commented 1 year ago

The workaround here is to add a double semicolon, iff the start comment is a single semicolon. This also required some fixing of the whitespace calculations. This commit is for issue 387 (https://github.com/AndreaCrotti/yasnippet-snippets/issues/387).

AndreaCrotti commented 1 year ago

Ah nice thanks it annoyed me for a while as well, I'll try it out