diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-30 15:21:01 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-30 15:21:01 +1300 |
commit | 12107dc60a9c369a7b79e56c5d717d719dd633b8 (patch) | |
tree | 0c2f1b04e089ae8112a2f77533cbaf196059c050 /zsh | |
parent | Use backward-compat syntax for reset indent opts (diff) | |
download | dotfiles-12107dc60a9c369a7b79e56c5d717d719dd633b8.tar.gz dotfiles-12107dc60a9c369a7b79e56c5d717d719dd633b8.zip |
Use version guard around numeric indent resets
My old 6.2 version of Vim tolerates neither `option<` nor `option=`
syntax for resetting local versions of these options, so I'm just going
to have to guard against running those commands on ancient Vim for now.
They seem to work correctly on 7.0.
:setlocal shiftwidth<
Number required after =: shiftwidth<
:setlocal shiftwidth=
Number required after =: shiftwidth=
:setlocal shiftwidth=0
Argument must be positive: shiftwidth=0
Diffstat (limited to 'zsh')
0 files changed, 0 insertions, 0 deletions