]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.3615: wrong indent in first line if re-formatting with indent expr v8.2.3615
authorChristian Brabandt <cb@256bit.org>
Thu, 18 Nov 2021 13:56:37 +0000 (13:56 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 18 Nov 2021 13:56:37 +0000 (13:56 +0000)
commit818ff25cd1aabf60b9cd239da2f1328a959954f7
tree6d7fd331ba50b71fcbbee6aa3bfc743225f12125
parent6555500bcf280716187eea9dba22d4f69bc0a501
patch 8.2.3615: wrong indent in first line if re-formatting with indent expr

Problem:    When re-formatting with an indent expression the first line of a
            paragraph may get the wrong indent. (Martin F. Krafft)
Solution:   Apply the correct indenting function for the first line.
            (Christian Brabandt, closes #9150, closes #9056)
src/testdir/test_indent.vim
src/textformat.c
src/version.c