aboutsummaryrefslogtreecommitdiff
path: root/vim/after/plugin/undofileskip.vim
blob: 5c21868fbebd6528dfcb5885d42509c34ae42723 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
" If undofileskip.vim loaded, add a few applicable paths to its list
if !exists('g:undofileskip')
  finish
endif
call extend(g:undofileskip, [
      \ '/dev/shm/*',
      \ '/usr/tmp/*',
      \ '/var/tmp/*',
      \ '*.git/*_EDITMSG',
      \ '*.git/ADD_EDIT.patch',
      \ '*.git/rebase-merge/git-rebase-todo',
      \])