mirror of
https://github.com/neovim/neovim.git
synced 2026-04-26 01:04:10 +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:
6
runtime/lua/vim/_meta/options.lua
generated
6
runtime/lua/vim/_meta/options.lua
generated
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user