aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-05-06 22:05:18 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-05-06 22:05:18 +1200
commit1d0a5cf3aa1bf1f360862819d229d756958df32e (patch)
treed3c81c6f0573a873c54f8db61f50d4ef81ba549a /plugin
parentMerge branch 'release/v0.2.0' (diff)
parentBump VERSION (diff)
downloadvim-undofileskip-master.tar.gz
vim-undofileskip-master.zip
Merge branch 'hotfix/v0.2.1'HEADv0.2.1master
* hotfix/v0.2.1: Correct buffer hooks
Diffstat (limited to 'plugin')
-rw-r--r--plugin/undofileskip.vim2
1 files changed, 1 insertions, 1 deletions
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