Readd BufEnter for setting s:path

This commit is contained in:
Marco Hinz 2013-06-06 13:08:15 +02:00
parent 2e3799bd43
commit f1a82a8654

View File

@ -50,7 +50,7 @@ sign define SignifyPlaceholder text=. texthl=SignifyChange linehl=NONE
augroup signify
autocmd!
autocmd BufRead * let s:path = resolve(expand('<afile>:p'))
autocmd BufRead,BufEnter * let s:path = resolve(expand('<afile>:p'))
autocmd BufRead,BufWritePost * call s:start(s:path)
autocmd VimEnter,ColorScheme * call s:colors_set()