]> git.madduck.net Git - etc/vim.git/commit

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Don't allow type comments to be merged behind regular comments (#1027)
authorMichael J. Sullivan <sully@msully.net>
Tue, 17 Sep 2019 20:40:03 +0000 (13:40 -0700)
committerJelle Zijlstra <jelle.zijlstra@gmail.com>
Tue, 17 Sep 2019 20:40:03 +0000 (13:40 -0700)
commit0c44220e216f6d253087f96341110c693d3ef2d4
tree9898b1e48a157503b271a95c296a20d050ccf09e
parentae5588cf073be10b51dc48ad2fc513e11c4f3e03
Don't allow type comments to be merged behind regular comments (#1027)

Type comments only apply if they are the first comment on the line,
which means that allowing them to be pushed behind a regular comment
when joining lines is a semantic change (and, indeed, one that black
catches and fails on).
black.py
tests/data/comments6.py