summaryrefslogtreecommitdiff
path: root/scripts/randomtest.loop
diff options
context:
space:
mode:
authorRon Yorston2021-05-20 08:27:19 +0100
committerDenys Vlasenko2021-06-02 06:16:36 +0200
commit16e2fa9049d5ddd7d4c8aea875dad91e07868685 (patch)
treedb0cd0f8737feeff6663e0feaf4f4c72613e7919 /scripts/randomtest.loop
parentd95f89ec576c5a0ecba24ead7f012f1fd8ea7b9b (diff)
downloadbusybox-16e2fa9049d5ddd7d4c8aea875dad91e07868685.zip
busybox-16e2fa9049d5ddd7d4c8aea875dad91e07868685.tar.gz
vi: make autoindent respect expandtab setting
Autoindent took a copy of the indent from a neighbouring line, which may not have respected the expandtab setting. Determine the target column and construct a suitable indent. This will consist entirely of spaces if expandtab is enabled or an efficient combination of tabs and spaces otherwise. function old new delta char_insert 719 741 +22 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/0 up/down: 22/0) Total: 22 bytes Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts/randomtest.loop')
0 files changed, 0 insertions, 0 deletions