mirror of
https://github.com/neovim/neovim.git
synced 2026-04-21 23:05:41 +00:00
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:
8
runtime/lua/vim/_meta/options.lua
generated
8
runtime/lua/vim/_meta/options.lua
generated
@@ -5822,10 +5822,10 @@ vim.o.sr = vim.o.shiftround
|
||||
vim.go.shiftround = vim.o.shiftround
|
||||
vim.go.sr = vim.go.shiftround
|
||||
|
||||
--- 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.
|
||||
---
|
||||
--- @type integer
|
||||
vim.o.shiftwidth = 8
|
||||
|
||||
Reference in New Issue
Block a user