From ea18d4ea3d9b6b1bfee2210637dc0403cbe10450 Mon Sep 17 00:00:00 2001 From: Marcin Rajner lenovo Date: Tue, 10 Jan 2017 07:19:04 +0100 Subject: [PATCH] contrib: fix vim syntax file for index-color commands color higlighting of muttrc file in vim was not correct for entries like: color index_subject color... color... "!~D ~sSPAM" This was problem for all colors specified like `color index_...` from patch-index-color-neomutt Closes #289 --- doc/vimrc.index-color | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/vimrc.index-color b/doc/vimrc.index-color index 63178ade7..48c97beaf 100644 --- a/doc/vimrc.index-color +++ b/doc/vimrc.index-color @@ -9,4 +9,4 @@ syntax keyword muttrcColorField contained index_label syntax keyword muttrcColorField contained index_number syntax keyword muttrcColorField contained index_size syntax keyword muttrcColorField contained index_subject - +syn region muttrcColorLine keepend start=/^\s*color\s\+index_\%(author\|collapsed\|date\|flags\|label\|number\|size\|subject\)/ skip=+\\$+ end=+$+ contains=muttrcColorKeyword,muttrcComment,muttrcUnHighlightSpace -- 2.40.0