diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-05-23 08:57:36 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-23 08:57:36 +0800 |
| commit | c8dbb04da96dd200165690cba253c8b832bc388a (patch) | |
| tree | f09ab910a5ca6d9fa35fda2ead9fc1bbca54027a /runtime/syntax/cpp.vim | |
| parent | 7a1bad27ca690e83496c900609875d3e6d041635 (diff) | |
| download | rneovim-c8dbb04da96dd200165690cba253c8b832bc388a.tar.gz rneovim-c8dbb04da96dd200165690cba253c8b832bc388a.tar.bz2 rneovim-c8dbb04da96dd200165690cba253c8b832bc388a.zip | |
vim-patch:9.2.0510: setline() mapping may trigger autoindent (#39961)
Problem: setline() insert mode mapping may trigger autoindent,
corrupting the newly inserted line content (Evgeni Chasnovski)
Solution: Only strip autoindent whitespace when the rest of the line is
all whitespace (glepnir).
fixes: vim/vim#19363
closes: vim/vim#20290
https://github.com/vim/vim/commit/e3dedac77b2076210e7027b14a5927622434f014
Co-authored-by: glepnir <glephunter@gmail.com>
Diffstat (limited to 'runtime/syntax/cpp.vim')
0 files changed, 0 insertions, 0 deletions