aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-05-03 23:59:52 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-05-03 23:59:52 +1200
commite72c60cf1d4abb82e2aacc3131dfaf2aa67fe265 (patch)
tree40d48baae9b3942d61c4a44fa44586b655bffa62
parentMerge branch 'hotfix/v8.28.1' (diff)
parentBump VERSION (diff)
downloaddotfiles-e72c60cf1d4abb82e2aacc3131dfaf2aa67fe265.tar.gz
dotfiles-e72c60cf1d4abb82e2aacc3131dfaf2aa67fe265.zip
Merge branch 'hotfix/v8.28.2'v8.28.2
* hotfix/v8.28.2: Use global variable not autoload for undoskip.vim
-rw-r--r--VERSION4
-rw-r--r--vim/plugin/undoskip.vim4
2 files changed, 4 insertions, 4 deletions
diff --git a/VERSION b/VERSION
index 558ffdde..d3b7b1d9 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-tejr dotfiles v8.28.1
-Sun, 03 May 2020 11:49:34 +0000
+tejr dotfiles v8.28.2
+Sun, 03 May 2020 11:59:39 +0000
diff --git a/vim/plugin/undoskip.vim b/vim/plugin/undoskip.vim
index 2f541ebf..ffbabf86 100644
--- a/vim/plugin/undoskip.vim
+++ b/vim/plugin/undoskip.vim
@@ -10,7 +10,7 @@ endif
let loaded_undoskip = 1
" Set the paths to test; can be changed by the user
-let 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
@@ -23,7 +23,7 @@ function s:CheckUndoSkip() abort
" Get the path from the buffer name; if that path matches any of the
" patterns, don't save undo data
let path = bufname('%')
- for pattern in g:undoskip#patterns
+ for pattern in g:undoskip_patterns
if path =~# pattern
return 0
endif