From 542c5d03eec39089f059ab2ebf9179f7557df9e2 Mon Sep 17 00:00:00 2001 From: Zhao Cai Date: Wed, 3 Apr 2013 07:03:49 -0400 Subject: [PATCH] Fix E382: Error detected while processing CursorHold Auto commands for "*": E382: Cannot write, 'buftype' option is set --- plugin/signify.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/signify.vim b/plugin/signify.vim index 1a0d0cf..56ef7a0 100644 --- a/plugin/signify.vim +++ b/plugin/signify.vim @@ -81,11 +81,11 @@ augroup signify endif if get(g:, 'signify_cursorhold_normal') - autocmd CursorHold * write | call s:start(s:path) + autocmd CursorHold * silent update | call s:start(s:path) endif if get(g:, 'signify_cursorhold_insert') - autocmd CursorHoldI * write | call s:start(s:path) + autocmd CursorHoldI * silent update | call s:start(s:path) endif if !has('gui_win32')