diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-06 22:05:18 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-06 22:05:18 +1200 |
commit | 1d0a5cf3aa1bf1f360862819d229d756958df32e (patch) | |
tree | d3c81c6f0573a873c54f8db61f50d4ef81ba549a /plugin | |
parent | Merge branch 'release/v0.2.0' (diff) | |
parent | Bump VERSION (diff) | |
download | vim-undofileskip-master.tar.gz vim-undofileskip-master.zip |
* hotfix/v0.2.1:
Correct buffer hooks
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/undofileskip.vim | 2 |
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 |