lib/soywiki.vim in soywiki-0.6.3 vs lib/soywiki.vim in soywiki-0.6.4
- old
+ new
@@ -655,12 +655,12 @@
nnoremap <buffer> <Leader>d :r !date<CR>o<Esc>
nnoremap <Leader>D :r !date<CR><Esc>k72i-<Esc>jo<Esc>
" set nu
setlocal completefunc=CompletePageTitle
- augroup <buffer>
+ augroup save_revision
au!
- autocmd BufWritePost,BufUnload <buffer> call s:save_revision()
+ autocmd FileWritePost,BufWritePost,BufUnload <buffer> call s:save_revision()
augroup END
let b:mappings_loaded = 1
endif
endfunc