Fix E382:

Error detected while processing CursorHold Auto commands for "*":
E382: Cannot write, 'buftype' option is set
This commit is contained in:
Zhao Cai 2013-04-03 07:03:49 -04:00
parent 072ec99491
commit 542c5d03ee

View File

@ -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')