aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-08 20:35:36 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-08 20:35:36 +1200
commitc166e93c341c91eac95472213cee034ea161317d (patch)
tree9713a771a2e933438d5c2b89ecf6b2399af88186 /vim
parentAdd more literate vimrc comments (diff)
downloaddotfiles-c166e93c341c91eac95472213cee034ea161317d.tar.gz
dotfiles-c166e93c341c91eac95472213cee034ea161317d.zip
Reverse overzealous factoring out of variable
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc3
1 files changed, 1 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 25588943..a43c63e0 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -64,8 +64,7 @@ set shiftwidth=4 " Indent with four spaces
" Vim is new enough to support it (v7.3.693), apply a negative value to do
" this dynamically if 'shiftwidth' changes.
"
-let s:negative_softtabstop = vimrc#Version('7.3.693')
-let &softtabstop = s:negative_softtabstop ? -1 : &shiftwidth
+let &softtabstop = vimrc#Version('7.3.693') ? -1 : &shiftwidth
" Relax traditional vi's harsh standards over what regions of the buffer can
" be removed with backspace in insert mode. While this admittedly allows bad