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
|
if shiftwidth > 0
|
||||||
setlocal expandtab
|
setlocal expandtab
|
||||||
let &l:shiftwidth=shiftwidth
|
let &l:shiftwidth=shiftwidth
|
||||||
if &tabstop == 8
|
let &l:softtabstop=shiftwidth
|
||||||
let &l:tabstop=shiftwidth
|
|
||||||
endif
|
|
||||||
return 1
|
return 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user