From: Yilei "Dolee" Yang Date: Tue, 19 Jul 2022 21:26:11 +0000 (-0700) Subject: Fix the handling of `# fmt: skip` when it's at a colon line (#3148) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/6ea4eddf936e88c24a6757c0c858812d5ca1a9c6?ds=sidebyside;hp=6ea4eddf936e88c24a6757c0c858812d5ca1a9c6 Fix the handling of `# fmt: skip` when it's at a colon line (#3148) When the Leaf node with `# fmt: skip` is a NEWLINE inside a `suite` Node, the nodes to ignore should be from the siblings of the parent `suite` Node. There is a also a special case for the ASYNC token, where it expands to the grandparent Node where the ASYNC token is. This fixes GH-2646, GH-3126, GH-2680, GH-2421, GH-2339, and GH-2138. ---