blob: f062fe2fbd9c2b94b59db7dde19a091d4ca2fc2f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
" If undofileskip.vim loaded, add a few applicable paths to its list
if !exists('g:undofileskip')
finish
endif
" Skip common temporary paths
call extend(g:undofileskip, [
\ '/dev/shm/*',
\ '/usr/tmp/*',
\ '/var/tmp/*',
\])
" Skip Git patch edits
call extend(g:undofileskip, [
\ '*.git/*_EDITMSG',
\ '*.git/ADD_EDIT.patch',
\ '*.git/rebase-merge/git-rebase-todo',
\])
" Skip `systemctl --user edit` buffers
call extend(g:undofileskip, [
\ '*/.config/systemd/user/?*.?*.d/.#override.conf????????????????',
\ '*/.config/systemd/user/.#?*.?*????????????????',
\])
|