vim-patch:95ea0b0: runtime(doc): make 'shiftwidth' setting more precise (#34266)

closes: vim/vim#17414

95ea0b0f8d

Co-authored-by: Damien Lejay <damien@lejay.be>
This commit is contained in:
zeertzjq
2025-06-02 08:26:34 +08:00
committed by GitHub
parent 06f07a104b
commit 5fd03508aa
3 changed files with 12 additions and 12 deletions

View File

@@ -7760,10 +7760,10 @@ local options = {
cb = 'did_set_shiftwidth_tabstop',
defaults = 8,
desc = [=[
Number of spaces to use for each step of (auto)indent. Used for
|'cindent'|, |>>|, |<<|, etc.
When zero the 'tabstop' value will be used. Use the |shiftwidth()|
function to get the effective shiftwidth value.
Number of columns that make up one level of (auto)indentation. Used
by |'cindent'|, |<<|, |>>|, etc.
If set to 0, Vim uses the current 'tabstop' value. Use |shiftwidth()|
to obtain the effective value in scripts.
]=],
full_name = 'shiftwidth',
scope = { 'buf' },