diff options
| author | Oleh Kostiuk <cub.uanic@gmail.com> | 2026-08-05 20:06:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-05 14:06:28 -0400 |
| commit | 23525dd4e3d7daaf619ab5a484ad45693a885975 (patch) | |
| tree | ae87dd57e896b044c03d3e157b7be04ee379a3f8 /runtime/lua/vim/_stringbuffer.lua | |
| parent | 69664a0aca6981cb93b1a1f01c44e70ad530f57d (diff) | |
| download | rneovim-23525dd4e3d7daaf619ab5a484ad45693a885975.tar.gz rneovim-23525dd4e3d7daaf619ab5a484ad45693a885975.tar.bz2 rneovim-23525dd4e3d7daaf619ab5a484ad45693a885975.zip | |
fix(editorconfig): avoid trim_trailing_whitespace in insert-mode #41175
Problem:
During insert-mode / replace-mode, `autowrite` may trigger. If it does, the
cursor position can shift due to the automatic removal of trailing spaces on the
current line. When I resume typing, the space between the last word and the new
word is suddenly gone.
Solution:
Disable the "remove trailing spaces" handler during Insert (or a similar) mode.
Autosave logic is not affected.
Diffstat (limited to 'runtime/lua/vim/_stringbuffer.lua')
0 files changed, 0 insertions, 0 deletions