aboutsummaryrefslogtreecommitdiff
path: root/vim/config/undo.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-10 21:48:23 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-10 21:48:23 +1300
commit3e29d5a95693a5ffd5e78622f560f415743b0736 (patch)
tree06f609de84351de9a9faa194b247d431b11301e2 /vim/config/undo.vim
parentMove matchit.vim sourcing into plugin.vim (diff)
downloaddotfiles-3e29d5a95693a5ffd5e78622f560f415743b0736.tar.gz
dotfiles-3e29d5a95693a5ffd5e78622f560f415743b0736.zip
Adjust some whitespace and comment layout
Diffstat (limited to 'vim/config/undo.vim')
-rw-r--r--vim/config/undo.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/config/undo.vim b/vim/config/undo.vim
index c31780e7..f85d9d8c 100644
--- a/vim/config/undo.vim
+++ b/vim/config/undo.vim
@@ -7,6 +7,8 @@ set undolevels=2000
" 'undodir' and 'undofile' settings will be taken care of by the
" auto_undodir.vim plugin if applicable/possible
if has('persistent_undo')
+
+ " Turn off the option by default
set noundofile
" Don't keep undo files from temporary directories or shared memory in case
@@ -19,4 +21,5 @@ if has('persistent_undo')
\ setlocal noundofile
augroup END
endif
+
endif