Formatting

This commit is contained in:
EinfachToll
2018-02-10 22:04:37 +01:00
parent 68ad4675a3
commit 967b342b23
2 changed files with 14 additions and 8 deletions

View File

@ -83,6 +83,9 @@ function! s:setup_buffer_enter() "{{{
return
endif
" 'autowriteall' is a global Vim option, so in order to change it only for
" Vimwiki buffers, we need to set it here (when the cursor enters the buffer)
" and reset it when the cursor leaves the buffer
let s:vimwiki_autowriteall_saved = &autowriteall
let &autowriteall = vimwiki#vars#get_global('autowriteall')
@ -166,7 +169,7 @@ endfunction " }}}
" Initialization of Vimwiki starts here. Make sure everything below does not
" cause autoload/base to be loaded
" cause autoload/vimwiki/base.vim to be loaded
call vimwiki#vars#init()