aboutsummaryrefslogtreecommitdiff
path: root/vim/indent
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-30 15:16:05 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-30 15:17:09 +1300
commitf33111bba5987aced0a50f14affe178e3834322f (patch)
tree7745c868af0710defc52b28a4233f6fb7da58b6a /vim/indent
parentAdd autoindent and expandtab to indent _GLOBAL (diff)
downloaddotfiles-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.vim6
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=