From: Michael J. Sullivan Date: Mon, 25 Nov 2019 22:16:00 +0000 (-0800) Subject: Fix unstable formatting with some `# type: ignore`s (#1113) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/4b449e7471c31ae2d3a890510322c40594cacc8f?ds=inline;hp=4b449e7471c31ae2d3a890510322c40594cacc8f Fix unstable formatting with some `# type: ignore`s (#1113) `type: ignore` shouldn't block collapsing a line, since it will still apply fine to the merged line. This prevents an issue where a reformat causes it to shift lines and then be merged on a subsequent pass. There is a downside to this, which is that it can cause a `type: ignore` to apply to more code than was originally intended. There might be a way to apply this in a more limited situation, but I'm not sure what it is. Fixes #1061. ---