From f1a82a8654aed72e4b30210901539cf50f14ed42 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Thu, 6 Jun 2013 13:08:15 +0200 Subject: [PATCH] Readd BufEnter for setting s:path --- plugin/signify.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/signify.vim b/plugin/signify.vim index 8a2a894..441e42b 100644 --- a/plugin/signify.vim +++ b/plugin/signify.vim @@ -50,7 +50,7 @@ sign define SignifyPlaceholder text=. texthl=SignifyChange linehl=NONE augroup signify autocmd! - autocmd BufRead * let s:path = resolve(expand(':p')) + autocmd BufRead,BufEnter * let s:path = resolve(expand(':p')) autocmd BufRead,BufWritePost * call s:start(s:path) autocmd VimEnter,ColorScheme * call s:colors_set()