Set only softtabstop, not tabstop, fixes #600

This commit is contained in:
Adam Stankiewicz
2020-10-23 00:51:16 +02:00
parent 114f731483
commit 2a205569eb

View File

@@ -2766,9 +2766,7 @@ if !has_key(s:disabled_packages, 'autoindent')
if shiftwidth > 0
setlocal expandtab
let &l:shiftwidth=shiftwidth
if &tabstop == 8
let &l:tabstop=shiftwidth
endif
let &l:softtabstop=shiftwidth
return 1
endif