vim-patch:bfa1636: runtime(doc): update documentation on tabstop settings (#34433)

Unify the treatment of tabstop, correct errors and deprecate smarttab
usage.

closes: vim/vim#17444

bfa16364f1

Co-authored-by: Damien Lejay <damien@lejay.be>
This commit is contained in:
zeertzjq
2025-06-11 07:53:35 +08:00
committed by GitHub
parent 8ea18de959
commit 79ce71430f
6 changed files with 57 additions and 43 deletions

View File

@@ -6170,8 +6170,10 @@ vim.bo.si = vim.bo.smartindent
--- When enabled, the <Tab> key will indent by 'shiftwidth' if the cursor
--- is in leading whitespace. The <BS> key has the opposite effect.
--- This behaves as if 'softtabstop' is set to the value of 'shiftwidth'.
--- Have a look at section `30.5` of the user guide for detailed
--- In leading whitespace, this has the same effect as setting
--- 'softtabstop' to the value of 'shiftwidth'.
--- NOTE: in most cases, using 'softtabstop' is a better option. Have a
--- look at section `30.5` of the user guide for detailed
--- explanations on how Vim works with tabs and spaces.
---
--- @type boolean