]> granicus.if.org Git - vim/commit
patch 8.2.4953: with 'si' inserting '}' after completion goes wrong v8.2.4953
authorBram Moolenaar <Bram@vim.org>
Sat, 14 May 2022 11:54:23 +0000 (12:54 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 14 May 2022 11:54:23 +0000 (12:54 +0100)
commit2e444bbef0f36535bf941f007f2961f3f66bbe87
tree339b31cf21dc01e77bf19400c52ba88ac10c4374
parent98feacedf9c03b8db79da03508a2c3c25dac3e53
patch 8.2.4953: with 'si' inserting '}' after completion goes wrong

Problem:    With 'smartindent' inserting '}' after completion goes wrong.
Solution:   Check the cursor is in indent.  (closes #10420)
src/indent.c
src/testdir/test_smartindent.vim
src/version.c