aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-05-06 22:05:25 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-05-06 22:05:25 +1200
commitc0ea37fc2167e228bb98158e79bd1475a60c5d76 (patch)
treed3c81c6f0573a873c54f8db61f50d4ef81ba549a
parentMerge branch 'release/v0.2.0' into develop (diff)
parentBump VERSION (diff)
downloadvim-undofileskip-c0ea37fc2167e228bb98158e79bd1475a60c5d76.tar.gz
vim-undofileskip-c0ea37fc2167e228bb98158e79bd1475a60c5d76.zip
Merge branch 'hotfix/v0.2.1' into developdevelop
* hotfix/v0.2.1: Correct buffer hooks
-rw-r--r--VERSION2
-rw-r--r--plugin/undofileskip.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/VERSION b/VERSION
index 0ea3a94..0c62199 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.2.0
+0.2.1
diff --git a/plugin/undofileskip.vim b/plugin/undofileskip.vim
index c6b3b1e..7b3373d 100644
--- a/plugin/undofileskip.vim
+++ b/plugin/undofileskip.vim
@@ -30,6 +30,6 @@ endif
" Check the path on every buffer rename, create, or read
augroup undofileskip
autocmd!
- autocmd BufAdd,BufNewFile,BufRead *
+ autocmd BufFilePost,BufNewFile,BufRead *
\ let &l:undofile = undofileskip#Check(expand('<amatch>'))
augroup END