diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-10-23 00:51:16 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-10-23 00:51:16 +0200 |
commit | 2a205569eb5a6b0cd69336bbdced1dc35cbbc7d2 (patch) | |
tree | db614885ab30a0ca74d2544172ae6a15aaa7e595 | |
parent | 114f731483c4eacaa138ea4e8872719bd657db21 (diff) | |
download | vim-polyglot-2a205569eb5a6b0cd69336bbdced1dc35cbbc7d2.tar.gz vim-polyglot-2a205569eb5a6b0cd69336bbdced1dc35cbbc7d2.zip |
Set only softtabstop, not tabstop, fixes #600
-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 |