set script variable for autowrite_all

Ref #492
This commit is contained in:
Huy Le 2018-05-13 07:43:47 -06:00 committed by EinfachToll
parent 9b744b42b1
commit 818fe930c3

View File

@ -13,6 +13,7 @@ let g:loaded_vimwiki = 1
let s:old_cpo = &cpo
set cpo&vim
let s:vimwiki_autowriteall_saved = g:vimwiki_autowriteall
" this is called when the cursor leaves the buffer
function! s:setup_buffer_leave()