summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-10-23 00:51:16 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-10-23 00:51:16 +0200
commit2a205569eb5a6b0cd69336bbdced1dc35cbbc7d2 (patch)
treedb614885ab30a0ca74d2544172ae6a15aaa7e595
parent114f731483c4eacaa138ea4e8872719bd657db21 (diff)
downloadvim-polyglot-2a205569eb5a6b0cd69336bbdced1dc35cbbc7d2.tar.gz
vim-polyglot-2a205569eb5a6b0cd69336bbdced1dc35cbbc7d2.zip
Set only softtabstop, not tabstop, fixes #600
-rw-r--r--ftdetect/polyglot.vim4
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