mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-10 04:23:51 -05:00
Set only softtabstop, not tabstop, fixes #600
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user