runtime(doc): Update 'softtabstop' documentation

closes: #20218

Signed-off-by: Jonathan Demme <j.b.demme@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Jonathan Demme
2026-05-15 15:37:31 +00:00
committed by Christian Brabandt
parent f281493c49
commit 77b8a12f82
+3 -3
View File
@@ -1,4 +1,4 @@
*usr_30.txt* For Vim version 9.2. Last change: 2026 Feb 14
*usr_30.txt* For Vim version 9.2. Last change: 2026 May 15
VIM USER MANUAL by Bram Moolenaar
@@ -531,9 +531,9 @@ they do when using only tab characters.
Vim 5.4 introduced the 'softtabstop' option. On top of the (hard) tab stops
used to display the horizontal tab characters in the text, Vim adds extra
soft tab stops dedicated only to the cursor. When 'softtabstop' is set to a
positive value, and the <Tab> key will push the cursor to the next soft tab
positive value, the <Tab> key will push the cursor to the next soft tab
stop. Vim will insert the correct combination of tab characters and spaces to
make the effect visually. Likewise pressing <BS> will have the cursor try to
achieve this effect. Likewise pressing <BS> will have the cursor try to
reach the nearest soft tab stop. The following example uses
`:set softtabstop=4`