diff options
Diffstat (limited to 'plugin/polyglot.vim')
-rw-r--r-- | plugin/polyglot.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin/polyglot.vim b/plugin/polyglot.vim index db2976e6..ccdef112 100644 --- a/plugin/polyglot.vim +++ b/plugin/polyglot.vim @@ -19,6 +19,11 @@ endif let g:loaded_sleuth = 1 let g:loaded_polyglot = 1 +" Makes shiftwidth to be synchronized with tabstop by default +if &shiftwidth == &tabstop + let &shiftwidth = 0 +endif + function! s:guess(lines) abort let options = {} let ccomment = 0 |