mirror of
https://github.com/soywod/himalaya.git
synced 2024-09-29 12:31:13 +00:00
15 lines
415 B
VimL
15 lines
415 B
VimL
setlocal filetype=mail
|
|
setlocal foldexpr=himalaya#shared#thread#fold(v:lnum)
|
|
setlocal foldmethod=expr
|
|
setlocal startofline
|
|
|
|
if exists("g:himalaya_complete_contact_cmd")
|
|
setlocal completefunc=himalaya#msg#complete_contact
|
|
endif
|
|
|
|
augroup himalaya_write
|
|
autocmd! * <buffer>
|
|
autocmd BufWriteCmd <buffer> call himalaya#msg#draft_save()
|
|
autocmd BufLeave <buffer> call himalaya#msg#draft_handle()
|
|
augroup end
|