diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-30 15:16:05 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-30 15:17:09 +1300 |
commit | f33111bba5987aced0a50f14affe178e3834322f (patch) | |
tree | 7745c868af0710defc52b28a4233f6fb7da58b6a /vim/indent | |
parent | Add autoindent and expandtab to indent _GLOBAL (diff) | |
download | dotfiles-f33111bba5987aced0a50f14affe178e3834322f.tar.gz dotfiles-f33111bba5987aced0a50f14affe178e3834322f.zip |
Use backward-compat syntax for reset indent opts
For compatibility with older versions of Vim, string-based (not boolean)
options need to be reset with `setlocal option=`, rather than `<`. New
versions of Vim tolerate the latter for the string values, and do what
you meant.
Diffstat (limited to 'vim/indent')
-rw-r--r-- | vim/indent/_GLOBAL.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vim/indent/_GLOBAL.vim b/vim/indent/_GLOBAL.vim index aeae075c..3dad1a28 100644 --- a/vim/indent/_GLOBAL.vim +++ b/vim/indent/_GLOBAL.vim @@ -3,6 +3,6 @@ " by a prior filetype (e.g. VimL). setlocal autoindent< setlocal expandtab< -setlocal shiftwidth< -setlocal softtabstop< -setlocal tabstop< +setlocal shiftwidth= +setlocal softtabstop= +setlocal tabstop= |