soywiki 0.4.4 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/soywiki.rb +1 -1
- data/lib/soywiki.vim +1 -1
- metadata +2 -2
data/lib/soywiki.rb
CHANGED
data/lib/soywiki.vim
CHANGED
|
@@ -619,7 +619,7 @@ func! s:prep_buffer()
|
|
|
619
619
|
setlocal completefunc=CompletePageTitle
|
|
620
620
|
augroup <buffer>
|
|
621
621
|
au!
|
|
622
|
-
autocmd BufWritePost <buffer> call s:save_revision()
|
|
622
|
+
autocmd BufWritePost,VimLeavePre <buffer> call s:save_revision()
|
|
623
623
|
augroup END
|
|
624
624
|
let b:mappings_loaded = 1
|
|
625
625
|
endif
|