From: has2k1 Date: Thu, 31 Oct 2013 10:17:16 +0000 (-0500) Subject: Fix issue #5 (Correct indent after end of block) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/18593f1150972346884dac64d7e71fd6a5f2b0fc?hp=18593f1150972346884dac64d7e71fd6a5f2b0fc Fix issue #5 (Correct indent after end of block) Problem ------- Given two adjacent blocks where the 2nd block has an equal or smaller indentation level compared to the 1st block. If the blocks are not separated by an empty line, the 2nd block will be placed (indented) inside the 1st block. This changes the meaning of code that already adheres to the pep8 standard. Solution -------- Do not inherit indentation of the previous line if the current line has less indentation but is valid. ---