aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-11-13 00:06:05 +1300
committerTom Ryder <tom@sanctum.geek.nz>2020-11-13 00:06:05 +1300
commit0dfbc5ea98419f455b07d66dc5823750501b8b50 (patch)
tree68294a1ed6536c5b34ecc448fe080d9d9f7477b1 /vim
parentRemove unneeded local var prefixes (diff)
downloaddotfiles-0dfbc5ea98419f455b07d66dc5823750501b8b50.tar.gz
dotfiles-0dfbc5ea98419f455b07d66dc5823750501b8b50.zip
Work around b:undo_indent mis-setting for Vim
Diffstat (limited to 'vim')
-rw-r--r--vim/after/indent/vim.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/vim/after/indent/vim.vim b/vim/after/indent/vim.vim
index da34eb75..4300e125 100644
--- a/vim/after/indent/vim.vim
+++ b/vim/after/indent/vim.vim
@@ -1,9 +1,9 @@
-" Use two (not four!) spaces for indentation, per convention
-call indent#Spaces(2)
-
" Remove inapplicable defaults from 'indentkeys'; we should only need to undo
" this if the stock plugin didn't already arrange that (before v7.3.539)
setlocal indentkeys-=0#,0{,0},0),:
if !exists('b:undo_indent')
let b:undo_indent = 'setlocal indentkeys<'
endif
+
+" Use two (not four!) spaces for indentation, per convention
+call indent#Spaces(2)