]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1859: completion: whitespace not cleared with 'ai' v9.1.1859
authorMaxim Kim <habamax@gmail.com>
Thu, 16 Oct 2025 18:32:21 +0000 (18:32 +0000)
committerChristian Brabandt <cb@256bit.org>
Thu, 16 Oct 2025 18:32:21 +0000 (18:32 +0000)
commit6180d65751d8cc85460eb1729dd04815b9f14aa4
tree7e65ca4b32f03b12cdc898b500b174511db46043
parentb3b47e540d35742503ea372c5a97e8fb5681ab26
patch 9.1.1859: completion: whitespace not cleared with 'ai'

Problem:  completion: whitespace not cleared with 'ai'
Solution: Remove spaces added by 'autoindent' when autocomplete is set
          and restore did_ai in ins_compl_start() (Maxim Kim)

fixes #18560
closes: #18582

Signed-off-by: Maxim Kim <habamax@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/insexpand.c
src/testdir/test_edit.vim
src/version.c