Skip to content

Commit

Permalink
Set only softtabstop, not tabstop, fixes #600
Browse files Browse the repository at this point in the history
  • Loading branch information
sheerun committed Oct 22, 2020
1 parent 114f731 commit 2a20556
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ftdetect/polyglot.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2a20556

Please sign in to comment.