]> Sergey Matveev's repositories - vim-lsp.git/commit
Use shiftwidth() as tabSize
authorTim Pope <code@tpope.net>
Thu, 31 Mar 2022 03:47:41 +0000 (23:47 -0400)
committerTim Pope <code@tpope.net>
Thu, 31 Mar 2022 03:56:16 +0000 (23:56 -0400)
commit912ff2486fc1c92fa12ed99f939977f2afa96860
treea9596e369a6bb1051d86368bbffac5134d86604b
parent5a3340430fe31d25b8625f7deaf94483ee736b58
Use shiftwidth() as tabSize

The tabSize field in the LSP spec is poorly named, as it's not used for
anything tab related but rather the indent size when formatting.  This
corresponds to shiftwidth() in Vim.
autoload/lsp/lspserver.vim