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
2 changed files with 4 additions and 0 deletions
+2
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" ],
+2
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>