aboutsummaryrefslogtreecommitdiff
path: root/vim/indent
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-30 15:24:18 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-30 15:24:18 +1300
commit592aedab6430a069efaa222370dc9035bcd98678 (patch)
tree29a39befb66bbd142ddbcde25b5eda33ba8a3033 /vim/indent
parentUse version guard around numeric indent resets (diff)
downloaddotfiles-592aedab6430a069efaa222370dc9035bcd98678.tar.gz
dotfiles-592aedab6430a069efaa222370dc9035bcd98678.zip
Use correct syntax for numeric indent resets
These trailing equals signs were vestigial from an attempt in f33111b to use what I thought was a backwards-compatible syntax for resetting a local option to its global state.
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 8280b9f8..e3ba8e11 100644
--- a/vim/indent/_GLOBAL.vim
+++ b/vim/indent/_GLOBAL.vim
@@ -7,7 +7,7 @@ setlocal expandtab<
" Unfortunately, older versions of Vim (6.2 is known) accept neither the
" `option<` nor `option=` syntax for resetting these numeric values.
if v:version >= 700
- setlocal shiftwidth=
- setlocal softtabstop=
- setlocal tabstop=
+ setlocal shiftwidth<
+ setlocal softtabstop<
+ setlocal tabstop<
endif