diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-05 17:43:43 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-05 17:43:43 +1200 |
commit | a7940be3d24fdd917f6c99b1ffe763010b2fd888 (patch) | |
tree | aaa3f73c014815afbd81e31d222a54613bae4994 /vim/plugin/undoskip.vim | |
parent | Use msc(1df) output in tmux status (diff) | |
download | dotfiles-a7940be3d24fdd917f6c99b1ffe763010b2fd888.tar.gz dotfiles-a7940be3d24fdd917f6c99b1ffe763010b2fd888.zip |
Break undoskip patterns into linewise list
Diffstat (limited to 'vim/plugin/undoskip.vim')
-rw-r--r-- | vim/plugin/undoskip.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/vim/plugin/undoskip.vim b/vim/plugin/undoskip.vim index ffbabf86..05549e39 100644 --- a/vim/plugin/undoskip.vim +++ b/vim/plugin/undoskip.vim @@ -10,7 +10,11 @@ endif let loaded_undoskip = 1 " Set the paths to test; can be changed by the user -let g:undoskip_patterns = ['^/dev/shm/.', '^/tmp/.', '^/var/tmp/.'] +let g:undoskip_patterns = [ + \ '^/dev/shm/.', + \ '^/tmp/.', + \ '^/var/tmp/.' + \] " Internal function returns a local value for 'undofile' function s:CheckUndoSkip() abort |