diff options
-rw-r--r-- | ftdetect/polyglot.vim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index bac11624..38c3d689 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -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 |