add vim mail syntax highlighting (#137)

This commit is contained in:
remche 2021-04-30 13:51:40 +02:00 committed by GitHub
parent 95f843f8b7
commit 8e98895d5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -1,9 +1,11 @@
setlocal bufhidden=wipe
setlocal buftype=nofile
setlocal cursorline
setlocal filetype=mail
setlocal foldexpr=himalaya#shared#thread#fold(v:lnum)
setlocal foldmethod=expr
setlocal nomodifiable
syntax on
call himalaya#shared#bindings#define([
\["n", "gw", "msg#write" ],

View file

@ -1,7 +1,9 @@
setlocal cursorline
setlocal filetype=mail
setlocal foldexpr=himalaya#shared#thread#fold(v:lnum)
setlocal foldmethod=expr
setlocal startofline
syntax on
augroup himalaya_write
autocmd! * <buffer>