mirror of
https://github.com/tpope/vim-sensible.git
synced 2025-11-12 13:03:47 -05:00
Provide more robust example of disabling 'undofile'
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user