aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/shared.lua
diff options
context:
space:
mode:
authorTim Pope <code@tpope.net>2022-03-20 13:41:46 -0400
committerGitHub <noreply@github.com>2022-03-20 10:41:46 -0700
commitaf427dedf663b1987fa54c5f885409ad51824a20 (patch)
tree4bea1496d3652d7104671fbb2f135271b7507bce /runtime/lua/vim/shared.lua
parent463738938d2f3ec4cff6f016937c3c02daae1184 (diff)
downloadrneovim-af427dedf663b1987fa54c5f885409ad51824a20.tar.gz
rneovim-af427dedf663b1987fa54c5f885409ad51824a20.tar.bz2
rneovim-af427dedf663b1987fa54c5f885409ad51824a20.zip
fix(lsp): set tabSize from 'shiftwidth', not 'softtabstop' (#17787)
The use of 'softtabstop' to set tabSize was introduced in 5d5b068, replacing 'tabstop'. If we look past the name tabSize and at the actual purpose of the field, it's the indentation width used when formatting. This corresponds to the Vim option 'shiftwidth', not 'softtabstop'. The latter has the comparatively mundane purpose of controlling what happens when you hit the tab key (and even this is incomplete, as it fails to account for 'smarttab').
Diffstat (limited to 'runtime/lua/vim/shared.lua')
0 files changed, 0 insertions, 0 deletions