Skip to content

Commit 2a20556

Browse files
committed
Set only softtabstop, not tabstop, fixes #600
1 parent 114f731 commit 2a20556

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ftdetect/polyglot.vim

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2766,9 +2766,7 @@ if !has_key(s:disabled_packages, 'autoindent')
27662766
if shiftwidth > 0
27672767
setlocal expandtab
27682768
let &l:shiftwidth=shiftwidth
2769-
if &tabstop == 8
2770-
let &l:tabstop=shiftwidth
2771-
endif
2769+
let &l:softtabstop=shiftwidth
27722770
return 1
27732771
endif
27742772

0 commit comments

Comments
 (0)