aboutsummaryrefslogtreecommitdiff
path: root/vim/after/indent
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-01-21 23:31:10 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-01-21 23:33:37 +1300
commitff621272fbc462d8c0a757f04166a0e8bbc213be (patch)
tree384e340e570f9e3a787bc34d5e70c9828429572d /vim/after/indent
parentRemove 'mac' from 'fileformats' (diff)
downloaddotfiles-ff621272fbc462d8c0a757f04166a0e8bbc213be.tar.gz
dotfiles-ff621272fbc462d8c0a757f04166a0e8bbc213be.zip
Break some continued lines in Vim indent files
This will mean they load correctly when the 'C' flag preventing line-breaking is in 'cpoptions', and 'compatible' is set.
Diffstat (limited to 'vim/after/indent')
-rw-r--r--vim/after/indent/vim.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/after/indent/vim.vim b/vim/after/indent/vim.vim
index 0cb1d397..bfd92aeb 100644
--- a/vim/after/indent/vim.vim
+++ b/vim/after/indent/vim.vim
@@ -2,6 +2,6 @@
setlocal shiftwidth=2
setlocal softtabstop=2
if exists('b:undo_indent')
- let b:undo_indent = b:undo_indent
- \ . '|setlocal shiftwidth< softtabstop<'
+ let s:ui = '|setlocal shiftwidth< softtabstop<'
+ let b:undo_indent = b:undo_indent . s:ui
endif