diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-10-23 01:22:31 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-10-23 01:22:31 +0200 |
commit | f828912a7f39f7525fca1a90adeb390a53e0d0a1 (patch) | |
tree | e981c36173fbf707fb0360a5d79613c38312389c | |
parent | 2522ad2029cb880552173cc5eb6a861b02a8799a (diff) | |
download | vim-polyglot-f828912a7f39f7525fca1a90adeb390a53e0d0a1.tar.gz vim-polyglot-f828912a7f39f7525fca1a90adeb390a53e0d0a1.zip |
Set softtabstop to -1 to allow chaging shiftwidth
-rw-r--r-- | ftdetect/polyglot.vim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index f0146c74..69d27f08 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -2773,11 +2773,10 @@ if !has_key(s:disabled_packages, 'autoindent') try " Sunchronize tabstop with shiftwidth let &l:softtabstop = -1 - catch /^Vim\%((\a\+)\)\=:E487/ + catch /^Vim\%((\a\+)\)\=:E487/ " -1 was not supported before Vim 7.4 let &l:softtabstop = a:num_spaces endtry - let &l:softtabstop=shiftwidth return 1 endif |