aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-05-05 17:43:43 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-05-05 17:43:43 +1200
commita7940be3d24fdd917f6c99b1ffe763010b2fd888 (patch)
treeaaa3f73c014815afbd81e31d222a54613bae4994
parentUse msc(1df) output in tmux status (diff)
downloaddotfiles-a7940be3d24fdd917f6c99b1ffe763010b2fd888.tar.gz
dotfiles-a7940be3d24fdd917f6c99b1ffe763010b2fd888.zip
Break undoskip patterns into linewise list
-rw-r--r--vim/plugin/undoskip.vim6
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