Provide more robust example of disabling 'undofile'

This commit is contained in:
Tim Pope
2013-03-26 23:28:24 -04:00
parent 4fb9519254
commit 530ea28e89

View File

@@ -82,7 +82,9 @@ don't like them strewn all over the file system, you have a few options.
3. Disable them entirely:
set noundofile
if has('persistent_undo')
set noundofile
endif
You can also just globally ignore them in your SCM of choice. That's what I
do.