diff options
Diffstat (limited to '')
| -rw-r--r-- | ftdetect/polyglot.vim | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 175575ba..6d495073 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -2634,6 +2634,10 @@ if !has_key(s:disabled_packages, 'autoindent')    " Code below re-implements sleuth for vim-polyglot    let g:loaded_sleuth = 1 +  if &tabstop == 8 +    let &tabstop = 2 +  endif +    func! s:get_shiftwidth(indents) abort      let shiftwidth = 0      let max_count = 0 | 
