diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-03-28 10:30:08 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-03-28 10:30:08 +0100 |
commit | 8ede7a069419e0e01368c65a2d0c79d6332aa6cd (patch) | |
tree | 8b6a70866e924d99d8710de10828fa42a78f13cf /runtime/doc/tags | |
parent | 2ca7d5f4831ce3d86cdc3f0c844fc50ea0deb7e5 (diff) |
patch 9.1.0218: Unnecessary multiplications in backspace codev9.1.0218
Problem: Unnecessary multiplications in backspace code, as
"col / ts * ts" is the same as "col - col % ts".
Solution: Change "col / ts * ts" to "col - col % ts". Adjust the loop
and the comments ins_bs() to be easier to understand. Update
tests to reset 'smarttab' properly.
(zeertzjq)
closes: #14308
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/doc/tags')
0 files changed, 0 insertions, 0 deletions