From: Daniel Hahler Date: Wed, 6 Jul 2016 09:17:48 +0000 (+0200) Subject: Improve handling of multiline strings (#50) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/10228215c76da4004b5ac4b60cfdf94682ea6e22?hp=10228215c76da4004b5ac4b60cfdf94682ea6e22 Improve handling of multiline strings (#50) * Improve handling of multiline strings Fixes https://github.com/hynek/vim-python-pep8-indent/issues/49. * tests: use an uneven width (3) instead of 8 This makes sure that the tests work as expected. * tests: move helper functions to spec_helper.rb * Add python_pep8_indent_for_multiline_string setting Ref: https://github.com/hynek/vim-python-pep8-indent/issues/49#issuecomment-228581896 * Use indent directly if prevnonblank is known This removes the now unused s:indent_prevnonblank function. ---