mirror of
https://github.com/soywod/himalaya.git
synced 2024-09-06 02:41:12 +00:00
14 lines
363 B
VimL
14 lines
363 B
VimL
setlocal cursorline
|
|
setlocal foldexpr=himalaya#shared#thread#fold(v:lnum)
|
|
setlocal foldlevel=0
|
|
setlocal foldlevelstart=0
|
|
setlocal foldmethod=expr
|
|
setlocal nowrap
|
|
setlocal startofline
|
|
|
|
augroup himalaya
|
|
autocmd! * <buffer>
|
|
autocmd BufWriteCmd <buffer> call himalaya#msg#draft_save()
|
|
autocmd BufUnload <buffer> call himalaya#msg#draft_handle()
|
|
augroup end
|