From edb342cf377c7a1edd18ced34d6ffb54cd88eb55 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 6 May 2020 22:04:32 +1200 Subject: Correct buffer hooks I need to remember to read the manual properly. --- plugin/undofileskip.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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('')) augroup END -- cgit v1.2.3 From ecbe4ad94728531fa0d5338cc6fa51151b2acfae Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 6 May 2020 22:05:05 +1200 Subject: Bump VERSION --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 0ea3a94..0c62199 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.2.0 +0.2.1 -- cgit v1.2.3