mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-17 21:37:55 +08:00
2ac2f53f31
Co-authored-by: mtoohey31 <mtoohey31@users.noreply.github.com>
11 lines
309 B
VimL
11 lines
309 B
VimL
setlocal filetype=mail
|
|
setlocal foldexpr=himalaya#shared#thread#fold(v:lnum)
|
|
setlocal foldmethod=expr
|
|
setlocal startofline
|
|
|
|
augroup himalaya_write
|
|
autocmd! * <buffer>
|
|
autocmd BufWriteCmd <buffer> call himalaya#msg#draft_save()
|
|
autocmd BufUnload <buffer> call himalaya#msg#draft_handle()
|
|
augroup end
|