mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 01:16:31 +00:00
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:
@@ -8184,8 +8184,10 @@ local options = {
|
||||
desc = [=[
|
||||
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.
|
||||
]=],
|
||||
full_name = 'smarttab',
|
||||
|
Reference in New Issue
Block a user