aboutsummaryrefslogtreecommitdiff
path: root/vim/after
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-05 00:36:42 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-05 00:36:42 +1200
commit91b0c2ed5b9d3066ce7df12ee5eff56a1cb8b2f3 (patch)
tree9e54918095b363f436e92f9d1c78c1af7b1473d7 /vim/after
parent4df7b9cc08fba60bf1ea4383b132e264915dc6af (diff)
downloaddotfiles-91b0c2ed5b9d3066ce7df12ee5eff56a1cb8b2f3.tar.gz
dotfiles-91b0c2ed5b9d3066ce7df12ee5eff56a1cb8b2f3.zip
Correct 'softtabstop' test in indent/vim.vim
Diffstat (limited to 'vim/after')
-rw-r--r--vim/after/indent/vim.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/after/indent/vim.vim b/vim/after/indent/vim.vim
index 4f2f42f8..dd5f4f32 100644
--- a/vim/after/indent/vim.vim
+++ b/vim/after/indent/vim.vim
@@ -5,7 +5,7 @@ if exists('b:undo_indent')
endif
" If we need to set 'softtabstop' too, do it
-if &softtabstop == -1
+if &softtabstop != -1
setlocal softtabstop=2
if exists('b:undo_indent')
let b:undo_indent = b:undo_indent . '|setlocal softtabstop<'