annotate runtime/syntax/neomuttrc.vim @ 26346:8be6413a8e27 v8.2.3704

patch 8.2.3704: Vim9: cannot use a list declaration in a :def function Commit: https://github.com/vim/vim/commit/ab36e6ae7b87b0295fb19270e4339a734875c6b1 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Nov 30 16:14:49 2021 +0000 patch 8.2.3704: Vim9: cannot use a list declaration in a :def function Problem: Vim9: cannot use a list declaration in a :def function. Solution: Make it work.
author Bram Moolenaar <Bram@vim.org>
date Tue, 30 Nov 2021 17:15:03 +0100
parents 99a602b27e0e
children 6dd88e45d47d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 " Vim syntax file
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2 " Language: NeoMutt setup files
18664
daa71bf6b546 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 13735
diff changeset
3 " Maintainer: Richard Russon <rich@flatcap.org>
daa71bf6b546 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 13735
diff changeset
4 " Previous Maintainer: Guillaume Brogi <gui-gui@netcourrier.com>
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
5 " Last Change: 2020-06-21
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
6 " Original version based on syntax/muttrc.vim
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
7
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
8 " This file covers NeoMutt 2020-06-19
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
9
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
10 " quit when a syntax file was already loaded
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
11 if exists("b:current_syntax")
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
12 finish
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
13 endif
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
14
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
15 let s:cpo_save = &cpo
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
16 set cpo&vim
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
17
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
18 " Set the keyword characters
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
19 setlocal isk=@,48-57,_,-
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
20
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
21 " handling optional variables
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
22 syntax match muttrcComment "^# .*$" contains=@Spell
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
23 syntax match muttrcComment "^#[^ ].*$"
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
24 syntax match muttrcComment "^#$"
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
25 syntax match muttrcComment "[^\\]#.*$"lc=1
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
26
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
27 " Escape sequences (back-tick and pipe goes here too)
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
28 syntax match muttrcEscape +\\[#tnr"'Cc ]+
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
29 syntax match muttrcEscape +[`|]+
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
30 syntax match muttrcEscape +\\$+
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
31
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
32 " The variables takes the following arguments
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
33 syntax region muttrcString contained keepend start=+"+ms=e skip=+\\"+ end=+"+ contains=muttrcEscape,muttrcCommand,muttrcAction,muttrcShellString
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
34 syntax region muttrcString contained keepend start=+'+ms=e skip=+\\'+ end=+'+ contains=muttrcEscape,muttrcCommand,muttrcAction
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
35 syntax match muttrcStringNL contained skipwhite skipnl "\s*\\$" nextgroup=muttrcString,muttrcStringNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
36
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
37 syntax region muttrcShellString matchgroup=muttrcEscape keepend start=+`+ skip=+\\`+ end=+`+ contains=muttrcVarStr,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcCommand
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
38
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
39 syntax match muttrcRXChars contained /[^\\][][.*?+]\+/hs=s+1
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
40 syntax match muttrcRXChars contained /[][|()][.*?+]*/
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
41 syntax match muttrcRXChars contained /['"]^/ms=s+1
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
42 syntax match muttrcRXChars contained /$['"]/me=e-1
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
43 syntax match muttrcRXChars contained /\\/
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
44 " Why does muttrcRXString2 work with one \ when muttrcRXString requires two?
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
45 syntax region muttrcRXString contained skipwhite start=+'+ skip=+\\'+ end=+'+ contains=muttrcRXChars
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
46 syntax region muttrcRXString contained skipwhite start=+"+ skip=+\\"+ end=+"+ contains=muttrcRXChars
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
47 syntax region muttrcRXString contained skipwhite start=+[^ "'^]+ skip=+\\\s+ end=+\s+re=e-1 contains=muttrcRXChars
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
48 " For some reason, skip refuses to match backslashes here...
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
49 syntax region muttrcRXString contained matchgroup=muttrcRXChars skipwhite start=+\^+ end=+[^\\]\s+re=e-1 contains=muttrcRXChars
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
50 syntax region muttrcRXString contained matchgroup=muttrcRXChars skipwhite start=+\^+ end=+$\s+ contains=muttrcRXChars
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
51 syntax region muttrcRXString2 contained skipwhite start=+'+ skip=+\'+ end=+'+ contains=muttrcRXChars
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
52 syntax region muttrcRXString2 contained skipwhite start=+"+ skip=+\"+ end=+"+ contains=muttrcRXChars
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
53
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
54 " these must be kept synchronized with muttrcRXString, but are intended for muttrcRXHooks
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
55 syntax region muttrcRXHookString contained keepend skipwhite start=+'+ skip=+\\'+ end=+'+ contains=muttrcRXString nextgroup=muttrcString,muttrcStringNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
56 syntax region muttrcRXHookString contained keepend skipwhite start=+"+ skip=+\\"+ end=+"+ contains=muttrcRXString nextgroup=muttrcString,muttrcStringNL
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
57 syntax region muttrcRXHookString contained keepend skipwhite start=+[^ "'^]+ skip=+\\\s+ end=+\s+re=e-1 contains=muttrcRXString nextgroup=muttrcString,muttrcStringNL
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
58 syntax region muttrcRXHookString contained keepend skipwhite start=+\^+ end=+[^\\]\s+re=e-1 contains=muttrcRXString nextgroup=muttrcString,muttrcStringNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
59 syntax region muttrcRXHookString contained keepend matchgroup=muttrcRXChars skipwhite start=+\^+ end=+$\s+ contains=muttrcRXString nextgroup=muttrcString,muttrcStringNL
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
60 syntax match muttrcRXHookStringNL contained skipwhite skipnl "\s*\\$" nextgroup=muttrcRXHookString,muttrcRXHookStringNL
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
61
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
62 " these are exclusively for args lists (e.g. -rx pat pat pat ...)
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
63 syntax region muttrcRXPat contained keepend skipwhite start=+'+ skip=+\\'+ end=+'\s*+ contains=muttrcRXString nextgroup=muttrcRXPat
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
64 syntax region muttrcRXPat contained keepend skipwhite start=+"+ skip=+\\"+ end=+"\s*+ contains=muttrcRXString nextgroup=muttrcRXPat
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
65 syntax match muttrcRXPat contained /[^-'"#!]\S\+/ skipwhite contains=muttrcRXChars nextgroup=muttrcRXPat
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
66 syntax match muttrcRXDef contained "-rx\s\+" skipwhite nextgroup=muttrcRXPat
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
67
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
68 syntax match muttrcSpecial +\(['"]\)!\1+
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
69
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
70 syntax match muttrcSetStrAssignment contained skipwhite /=\s*\%(\\\?\$\)\?[0-9A-Za-z_-]\+/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr contains=muttrcVariable,muttrcEscapedVariable
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
71 syntax region muttrcSetStrAssignment contained skipwhite keepend start=+=\s*"+hs=s+1 end=+"+ skip=+\\"+ nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr contains=muttrcString
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
72 syntax region muttrcSetStrAssignment contained skipwhite keepend start=+=\s*'+hs=s+1 end=+'+ skip=+\\'+ nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr contains=muttrcString
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
73 syntax match muttrcSetBoolAssignment contained skipwhite /=\s*\\\?\$\w\+/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr contains=muttrcVariable,muttrcEscapedVariable
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
74 syntax match muttrcSetBoolAssignment contained skipwhite /=\s*\%(yes\|no\)/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
75 syntax match muttrcSetBoolAssignment contained skipwhite /=\s*"\%(yes\|no\)"/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
76 syntax match muttrcSetBoolAssignment contained skipwhite /=\s*'\%(yes\|no\)'/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
77 syntax match muttrcSetQuadAssignment contained skipwhite /=\s*\\\?\$\w\+/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr contains=muttrcVariable,muttrcEscapedVariable
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
78 syntax match muttrcSetQuadAssignment contained skipwhite /=\s*\%(ask-\)\?\%(yes\|no\)/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
79 syntax match muttrcSetQuadAssignment contained skipwhite /=\s*"\%(ask-\)\?\%(yes\|no\)"/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
80 syntax match muttrcSetQuadAssignment contained skipwhite /=\s*'\%(ask-\)\?\%(yes\|no\)'/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
81 syntax match muttrcSetNumAssignment contained skipwhite /=\s*\\\?\$\w\+/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr contains=muttrcVariable,muttrcEscapedVariable
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
82 syntax match muttrcSetNumAssignment contained skipwhite /=\s*\d\+/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
83 syntax match muttrcSetNumAssignment contained skipwhite /=\s*"\d\+"/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
84 syntax match muttrcSetNumAssignment contained skipwhite /=\s*'\d\+'/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
85
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
86 " Now catch some email addresses and headers (purified version from mail.vim)
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
87 syntax match muttrcEmail "[a-zA-Z0-9._-]\+@[a-zA-Z0-9./-]\+"
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
88 syntax match muttrcHeader "\<\c\%(From\|To\|C[Cc]\|B[Cc][Cc]\|Reply-To\|Subject\|Return-Path\|Received\|Date\|Replied\|Attach\)\>:\="
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
89
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
90 syntax match muttrcKeySpecial contained +\%(\\[Cc'"]\|\^\|\\[01]\d\{2}\)+
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
91 syntax match muttrcKey contained "\S\+" contains=muttrcKeySpecial,muttrcKeyName
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
92 syntax region muttrcKey contained start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=muttrcKeySpecial,muttrcKeyName
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
93 syntax region muttrcKey contained start=+'+ skip=+\\\\\|\\'+ end=+'+ contains=muttrcKeySpecial,muttrcKeyName
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
94 syntax match muttrcKeyName contained "\\[trne]"
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
95 syntax match muttrcKeyName contained "\c<\%(BackSpace\|BackTab\|Delete\|Down\|End\|Enter\|Esc\|Home\|Insert\|Left\|Next\|PageDown\|PageUp\|Return\|Right\|Space\|Tab\|Up\)>"
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
96 syntax match muttrcKeyName contained "\c<F\d\+>"
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
97
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
98 syntax match muttrcFormatErrors contained /%./
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
99
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
100 syntax match muttrcStrftimeEscapes contained /%[AaBbCcDdeFGgHhIjklMmnpRrSsTtUuVvWwXxYyZz+%]/
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
101 syntax match muttrcStrftimeEscapes contained /%E[cCxXyY]/
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
102 syntax match muttrcStrftimeEscapes contained /%O[BdeHImMSuUVwWy]/
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
103
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
104 syntax region muttrcAliasFormatStr contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcAliasFormatEscapes,muttrcAliasFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
105 syntax region muttrcAliasFormatStr contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcAliasFormatEscapes,muttrcAliasFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
106 syntax region muttrcAttachFormatStr contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcAttachFormatEscapes,muttrcAttachFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
107 syntax region muttrcAttachFormatStr contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcAttachFormatEscapes,muttrcAttachFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
108 syntax region muttrcComposeFormatStr contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcComposeFormatEscapes,muttrcComposeFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
109 syntax region muttrcComposeFormatStr contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcComposeFormatEscapes,muttrcComposeFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
110 syntax region muttrcFolderFormatStr contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcFolderFormatEscapes,muttrcFolderFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
111 syntax region muttrcFolderFormatStr contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcFolderFormatEscapes,muttrcFolderFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
112 syntax region muttrcGroupIndexFormatStr contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcGroupIndexFormatEscapes,muttrcGroupIndexFormatConditionals,muttrcFormatErrors,muttrcTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
113 syntax region muttrcGroupIndexFormatStr contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcGroupIndexFormatEscapes,muttrcGroupIndexFormatConditionals,muttrcFormatErrors,muttrcTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
114 syntax region muttrcIndexFormatStr contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcIndexFormatEscapes,muttrcIndexFormatConditionals,muttrcFormatErrors,muttrcTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
115 syntax region muttrcIndexFormatStr contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcIndexFormatEscapes,muttrcIndexFormatConditionals,muttrcFormatErrors,muttrcTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
116 syntax region muttrcMixFormatStr contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcMixFormatEscapes,muttrcMixFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
117 syntax region muttrcMixFormatStr contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcMixFormatEscapes,muttrcMixFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
118 syntax region muttrcPGPCmdFormatStr contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcPGPCmdFormatEscapes,muttrcPGPCmdFormatConditionals,muttrcVariable,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
119 syntax region muttrcPGPCmdFormatStr contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcPGPCmdFormatEscapes,muttrcPGPCmdFormatConditionals,muttrcVariable,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
120 syntax region muttrcPGPFormatStr contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcPGPFormatEscapes,muttrcPGPFormatConditionals,muttrcFormatErrors,muttrcPGPTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
121 syntax region muttrcPGPFormatStr contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcPGPFormatEscapes,muttrcPGPFormatConditionals,muttrcFormatErrors,muttrcPGPTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
122 syntax region muttrcQueryFormatStr contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcQueryFormatEscapes,muttrcQueryFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
123 syntax region muttrcQueryFormatStr contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcQueryFormatEscapes,muttrcQueryFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
124 syntax region muttrcSidebarFormatStr contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcSidebarFormatEscapes,muttrcSidebarFormatConditionals,muttrcFormatErrors,muttrcTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
125 syntax region muttrcSidebarFormatStr contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcSidebarFormatEscapes,muttrcSidebarFormatConditionals,muttrcFormatErrors,muttrcTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
126 syntax region muttrcSmimeFormatStr contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcSmimeFormatEscapes,muttrcSmimeFormatConditionals,muttrcVariable,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
127 syntax region muttrcSmimeFormatStr contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcSmimeFormatEscapes,muttrcSmimeFormatConditionals,muttrcVariable,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
128 syntax region muttrcStatusFormatStr contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcStatusFormatEscapes,muttrcStatusFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
129 syntax region muttrcStatusFormatStr contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcStatusFormatEscapes,muttrcStatusFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
130 syntax region muttrcStrftimeFormatStr contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcStrftimeEscapes,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
131 syntax region muttrcStrftimeFormatStr contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcStrftimeEscapes,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
132
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
133 " Format escapes and conditionals
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
134 syntax match muttrcFormatConditionals2 contained /[^?]*?/
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
135 function! s:escapesConditionals(baseName, sequence, padding, conditional)
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
136 exec 'syntax match muttrc' . a:baseName . 'Escapes contained /%\%(\%(-\?[0-9]\+\)\?\%(\.[0-9]\+\)\?\)\?[:_]\?\%(' . a:sequence . '\|%\)/'
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
137 if a:padding
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
138 exec 'syntax match muttrc' . a:baseName . 'Escapes contained /%[>|*]./'
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
139 endif
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
140 if a:conditional
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
141 exec 'syntax match muttrc' . a:baseName . 'Conditionals contained /%?\%(' . a:sequence . '\)?/ nextgroup=muttrcFormatConditionals2'
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
142 else
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
143 exec 'syntax match muttrc' . a:baseName . 'Conditionals contained /%?\%(' . a:sequence . '\)?/'
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
144 endif
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
145 endfunction
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
146
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
147 " CHECKED 2020-06-21
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
148 " Ref: alias_format_str() in alias/dlgalias.c
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
149 call s:escapesConditionals('AliasFormat', '[acfnrt]', 1, 0)
13735
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
150 " Ref: attach_format_str() in recvattach.c
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
151 call s:escapesConditionals('AttachFormat', '[CcDdeFfIMmnQsTtuX]', 1, 1)
13735
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
152 " Ref: compose_format_str() in compose.c
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
153 call s:escapesConditionals('ComposeFormat', '[ahlv]', 1, 1)
13735
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
154 " Ref: folder_format_str() in browser.c
18664
daa71bf6b546 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 13735
diff changeset
155 call s:escapesConditionals('FolderFormat', '[CDdFfgilmNnstu]', 1, 0)
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
156 " Ref: group_index_format_str() in browser.c
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
157 call s:escapesConditionals('GroupIndexFormat', '[CdfMNns]', 1, 1)
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
158 " Ref: index_format_str() in hdrline.c
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
159 call s:escapesConditionals('IndexFormat', '[AaBbCDdEefgHIiJKLlMmNnOPqRrSsTtuvWXxYyZ(<[{]\|@\i\+@\|G[a-zA-Z]\+\|Fp\=\|z[cst]\|cr\=', 1, 1)
13735
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
160 " Ref: mix_format_str() in remailer.c
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
161 call s:escapesConditionals('MixFormat', '[acns]', 1, 0)
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
162 " Ref: pgp_command_format_str() in ncrypt/pgpinvoke.c
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
163 call s:escapesConditionals('PGPCmdFormat', '[afprs]', 0, 1)
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
164 " Ref: crypt_format_str() in ncrypt/crypt_gpgme.c
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
165 " Ref: pgp_entry_format_str() in ncrypt/pgpkey.c
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
166 " Note: crypt_format_str() supports 'p', but pgp_entry_fmt() does not
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
167 call s:escapesConditionals('PGPFormat', '[AaCcFfKkLlnptu[]', 0, 0)
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
168 " Ref: query_format_str() in alias/dlgquery.c
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
169 call s:escapesConditionals('QueryFormat', '[acent]', 1, 1)
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
170 " Ref: sidebar_format_str() in sidebar.c
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
171 call s:escapesConditionals('SidebarFormat', '[!BDdFLNnorStZ]', 1, 1)
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
172 " Ref: smime_command_format_str() in ncrypt/smime.c
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
173 call s:escapesConditionals('SmimeFormat', '[aCcdfiks]', 0, 1)
13735
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
174 " Ref: status_format_str() in status.c
18664
daa71bf6b546 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 13735
diff changeset
175 call s:escapesConditionals('StatusFormat', '[bDdFfhLlMmnoPpRrSstuVv]', 1, 1)
13735
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
176
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
177 syntax region muttrcPGPTimeEscapes contained start=+%\[+ end=+\]+ contains=muttrcStrftimeEscapes
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
178 syntax region muttrcTimeEscapes contained start=+%(+ end=+)+ contains=muttrcStrftimeEscapes
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
179 syntax region muttrcTimeEscapes contained start=+%<+ end=+>+ contains=muttrcStrftimeEscapes
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
180 syntax region muttrcTimeEscapes contained start=+%\[+ end=+\]+ contains=muttrcStrftimeEscapes
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
181 syntax region muttrcTimeEscapes contained start=+%{+ end=+}+ contains=muttrcStrftimeEscapes
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
182
13735
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
183 syntax match muttrcVarEqualsAliasFmt contained skipwhite "=" nextgroup=muttrcAliasFormatStr
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
184 syntax match muttrcVarEqualsAttachFmt contained skipwhite "=" nextgroup=muttrcAttachFormatStr
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
185 syntax match muttrcVarEqualsComposeFmt contained skipwhite "=" nextgroup=muttrcComposeFormatStr
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
186 syntax match muttrcVarEqualsFolderFmt contained skipwhite "=" nextgroup=muttrcFolderFormatStr
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
187 syntax match muttrcVarEqualsGrpIdxFmt contained skipwhite "=" nextgroup=muttrcGroupIndexFormatStr
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
188 syntax match muttrcVarEqualsIdxFmt contained skipwhite "=" nextgroup=muttrcIndexFormatStr
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
189 syntax match muttrcVarEqualsMixFmt contained skipwhite "=" nextgroup=muttrcMixFormatStr
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
190 syntax match muttrcVarEqualsPGPCmdFmt contained skipwhite "=" nextgroup=muttrcPGPCmdFormatStr
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
191 syntax match muttrcVarEqualsPGPFmt contained skipwhite "=" nextgroup=muttrcPGPFormatStr
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
192 syntax match muttrcVarEqualsQueryFmt contained skipwhite "=" nextgroup=muttrcQueryFormatStr
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
193 syntax match muttrcVarEqualsSdbFmt contained skipwhite "=" nextgroup=muttrcSidebarFormatStr
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
194 syntax match muttrcVarEqualsSmimeFmt contained skipwhite "=" nextgroup=muttrcSmimeFormatStr
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
195 syntax match muttrcVarEqualsStatusFmt contained skipwhite "=" nextgroup=muttrcStatusFormatStr
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
196 syntax match muttrcVarEqualsStrftimeFmt contained skipwhite "=" nextgroup=muttrcStrftimeFormatStr
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
197
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
198 syntax match muttrcVPrefix contained /[?&]/ nextgroup=muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
199
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
200 " CHECKED 2020-06-21
18664
daa71bf6b546 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 13735
diff changeset
201 " List of the different screens in mutt (see Menus in keymap.c)
13735
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
202 syntax keyword muttrcMenu contained alias attach browser compose editor generic index key_select_pgp key_select_smime mix pager pgp postpone query smime
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
203 syntax match muttrcMenuList "\S\+" contained contains=muttrcMenu
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
204 syntax match muttrcMenuCommas /,/ contained
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
205
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
206 syntax region muttrcSpamPattern contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcPattern nextgroup=muttrcString,muttrcStringNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
207 syntax region muttrcSpamPattern contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcPattern nextgroup=muttrcString,muttrcStringNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
208
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
209 syntax region muttrcNoSpamPattern contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcPattern
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
210 syntax region muttrcNoSpamPattern contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcPattern
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
211
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
212 syntax match muttrcAttachmentsMimeType contained "[*a-z0-9_-]\+/[*a-z0-9._-]\+\s*" skipwhite nextgroup=muttrcAttachmentsMimeType
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
213 syntax match muttrcAttachmentsFlag contained "[+-]\%([AI]\|inline\|attachment\)\s\+" skipwhite nextgroup=muttrcAttachmentsMimeType
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
214 syntax match muttrcAttachmentsLine "^\s*\%(un\)\?attachments\s\+" skipwhite nextgroup=muttrcAttachmentsFlag
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
215
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
216 syntax match muttrcUnHighlightSpace contained "\%(\s\+\|\\$\)"
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
217
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
218 syntax keyword muttrcAsterisk contained *
18664
daa71bf6b546 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 13735
diff changeset
219
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
220 syntax keyword muttrcListsKeyword lists skipwhite nextgroup=muttrcGroupDef,muttrcComment
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
221 syntax keyword muttrcListsKeyword unlists skipwhite nextgroup=muttrcAsterisk,muttrcComment
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
222
18664
daa71bf6b546 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 13735
diff changeset
223 syntax keyword muttrcSubscribeKeyword subscribe skipwhite nextgroup=muttrcGroupDef,muttrcComment
daa71bf6b546 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 13735
diff changeset
224 syntax keyword muttrcSubscribeKeyword unsubscribe skipwhite nextgroup=muttrcAsterisk,muttrcComment
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
225
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
226 syntax keyword muttrcAlternateKeyword contained alternates unalternates
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
227 syntax region muttrcAlternatesLine keepend start=+^\s*\%(un\)\?alternates\s+ skip=+\\$+ end=+$+ contains=muttrcAlternateKeyword,muttrcGroupDef,muttrcRXPat,muttrcUnHighlightSpace,muttrcComment
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
228
18664
daa71bf6b546 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 13735
diff changeset
229 " muttrcVariable includes a prefix because partial strings are considered valid.
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
230 syntax match muttrcVariable contained "\\\@<![a-zA-Z_-]*\$[a-zA-Z_-]\+" contains=muttrcVariableInner
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
231 syntax match muttrcVariableInner contained "\$[a-zA-Z_-]\+"
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
232 syntax match muttrcEscapedVariable contained "\\\$[a-zA-Z_-]\+"
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
233
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
234 syntax match muttrcBadAction contained "[^<>]\+" contains=muttrcEmail
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
235 syntax match muttrcAction contained "<[^>]\{-}>" contains=muttrcBadAction,muttrcFunction,muttrcKeyName
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
236
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
237 " CHECKED 2020-06-21
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
238 " First, functions that take regular expressions:
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
239 syntax match muttrcRXHookNot contained /!\s*/ skipwhite nextgroup=muttrcRXHookString,muttrcRXHookStringNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
240 syntax match muttrcRXHooks /\<\%(account\|append\|close\|crypt\|folder\|mbox\|open\|pgp\)-hook\>/ skipwhite nextgroup=muttrcRXHookNot,muttrcRXHookString,muttrcRXHookStringNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
241
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
242 " Now, functions that take patterns
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
243 syntax match muttrcPatHookNot contained /!\s*/ skipwhite nextgroup=muttrcPattern
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
244 syntax match muttrcPatHooks /\<\%(charset\|iconv\|index-format\)-hook\>/ skipwhite nextgroup=muttrcPatHookNot,muttrcPattern
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
245 syntax match muttrcPatHooks /\<\%(message\|reply\|send\|send2\|save\|fcc\|fcc-save\)-hook\>/ skipwhite nextgroup=muttrcPatHookNot,muttrcOptPattern
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
246
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
247 " Global hooks that take a command
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
248 syntax keyword muttrcHooks skipwhite shutdown-hook startup-hook timeout-hook nextgroup=muttrcCommand
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
249
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
250 syntax match muttrcBindFunction contained /\S\+\>/ skipwhite contains=muttrcFunction
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
251 syntax match muttrcBindFunctionNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcBindFunction,muttrcBindFunctionNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
252 syntax match muttrcBindKey contained /\S\+/ skipwhite contains=muttrcKey nextgroup=muttrcBindFunction,muttrcBindFunctionNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
253 syntax match muttrcBindKeyNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcBindKey,muttrcBindKeyNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
254 syntax match muttrcBindMenuList contained /\S\+/ skipwhite contains=muttrcMenu,muttrcMenuCommas nextgroup=muttrcBindKey,muttrcBindKeyNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
255 syntax match muttrcBindMenuListNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcBindMenuList,muttrcBindMenuListNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
256
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
257 syntax region muttrcMacroDescr contained keepend skipwhite start=+\s*\S+ms=e skip=+\\ + end=+ \|$+me=s
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
258 syntax region muttrcMacroDescr contained keepend skipwhite start=+'+ms=e skip=+\\'+ end=+'+me=s
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
259 syntax region muttrcMacroDescr contained keepend skipwhite start=+"+ms=e skip=+\\"+ end=+"+me=s
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
260 syntax match muttrcMacroDescrNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcMacroDescr,muttrcMacroDescrNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
261 syntax region muttrcMacroBody contained skipwhite start="\S" skip='\\ \|\\$' end=' \|$' contains=muttrcEscape,muttrcSet,muttrcUnset,muttrcReset,muttrcToggle,muttrcCommand,muttrcAction nextgroup=muttrcMacroDescr,muttrcMacroDescrNL
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
262 syntax region muttrcMacroBody matchgroup=Type contained skipwhite start=+'+ms=e skip=+\\'+ end=+'\|\%(\%(\\\\\)\@<!$\)+me=s contains=muttrcEscape,muttrcSet,muttrcUnset,muttrcReset,muttrcToggle,muttrcSpam,muttrcNoSpam,muttrcCommand,muttrcAction,muttrcVariable nextgroup=muttrcMacroDescr,muttrcMacroDescrNL
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
263 syntax region muttrcMacroBody matchgroup=Type contained skipwhite start=+"+ms=e skip=+\\"+ end=+"\|\%(\%(\\\\\)\@<!$\)+me=s contains=muttrcEscape,muttrcSet,muttrcUnset,muttrcReset,muttrcToggle,muttrcSpam,muttrcNoSpam,muttrcCommand,muttrcAction,muttrcVariable nextgroup=muttrcMacroDescr,muttrcMacroDescrNL
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
264 syntax match muttrcMacroBodyNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcMacroBody,muttrcMacroBodyNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
265 syntax match muttrcMacroKey contained /\S\+/ skipwhite contains=muttrcKey nextgroup=muttrcMacroBody,muttrcMacroBodyNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
266 syntax match muttrcMacroKeyNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcMacroKey,muttrcMacroKeyNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
267 syntax match muttrcMacroMenuList contained /\S\+/ skipwhite contains=muttrcMenu,muttrcMenuCommas nextgroup=muttrcMacroKey,muttrcMacroKeyNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
268 syntax match muttrcMacroMenuListNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcMacroMenuList,muttrcMacroMenuListNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
269
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
270 syntax match muttrcAddrContent contained "[a-zA-Z0-9._-]\+@[a-zA-Z0-9./-]\+\s*" skipwhite contains=muttrcEmail nextgroup=muttrcAddrContent
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
271 syntax region muttrcAddrContent contained start=+'+ end=+'\s*+ skip=+\\'+ skipwhite contains=muttrcEmail nextgroup=muttrcAddrContent
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
272 syntax region muttrcAddrContent contained start=+"+ end=+"\s*+ skip=+\\"+ skipwhite contains=muttrcEmail nextgroup=muttrcAddrContent
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
273 syntax match muttrcAddrDef contained "-addr\s\+" skipwhite nextgroup=muttrcAddrContent
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
274
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
275 syntax match muttrcGroupFlag contained "-group"
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
276 syntax region muttrcGroupDef contained start="-group\s\+" skip="\\$" end="\s" skipwhite keepend contains=muttrcGroupFlag,muttrcUnHighlightSpace
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
277
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
278 syntax keyword muttrcGroupKeyword contained group ungroup
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
279 syntax region muttrcGroupLine keepend start=+^\s*\%(un\)\?group\s+ skip=+\\$+ end=+$+ contains=muttrcGroupKeyword,muttrcGroupDef,muttrcAddrDef,muttrcRXDef,muttrcUnHighlightSpace,muttrcComment
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
280
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
281 syntax match muttrcAliasGroupName contained /\w\+/ skipwhite nextgroup=muttrcAliasGroupDef,muttrcAliasKey,muttrcAliasNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
282 syntax match muttrcAliasGroupDefNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcAliasGroupName,muttrcAliasGroupDefNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
283 syntax match muttrcAliasGroupDef contained /\s*-group/ skipwhite nextgroup=muttrcAliasGroupName,muttrcAliasGroupDefNL contains=muttrcGroupFlag
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
284 syntax match muttrcAliasComma contained /,/ skipwhite nextgroup=muttrcAliasEmail,muttrcAliasEncEmail,muttrcAliasNameNoParens,muttrcAliasENNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
285 syntax match muttrcAliasEmail contained /\S\+@\S\+/ contains=muttrcEmail nextgroup=muttrcAliasName,muttrcAliasNameNL skipwhite
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
286 syntax match muttrcAliasEncEmail contained /<[^>]\+>/ contains=muttrcEmail nextgroup=muttrcAliasComma
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
287 syntax match muttrcAliasEncEmailNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcAliasEncEmail,muttrcAliasEncEmailNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
288 syntax match muttrcAliasNameNoParens contained /[^<(@]\+\s\+/ nextgroup=muttrcAliasEncEmail,muttrcAliasEncEmailNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
289 syntax region muttrcAliasName contained matchgroup=Type start=/(/ end=/)/ skipwhite
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
290 syntax match muttrcAliasNameNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcAliasName,muttrcAliasNameNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
291 syntax match muttrcAliasENNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcAliasEmail,muttrcAliasEncEmail,muttrcAliasNameNoParens,muttrcAliasENNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
292 syntax match muttrcAliasKey contained /\s*[^- \t]\S\+/ skipwhite nextgroup=muttrcAliasEmail,muttrcAliasEncEmail,muttrcAliasNameNoParens,muttrcAliasENNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
293 syntax match muttrcAliasNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcAliasGroupDef,muttrcAliasKey,muttrcAliasNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
294
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
295 syntax match muttrcUnAliasKey contained "\s*\w\+\s*" skipwhite nextgroup=muttrcUnAliasKey,muttrcUnAliasNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
296 syntax match muttrcUnAliasNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcUnAliasKey,muttrcUnAliasNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
297
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
298 " CHECKED 2020-06-21
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
299 " List of letters in Flags in pattern.c
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
300 " Parameter: none
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
301 syntax match muttrcSimplePat contained "!\?\^\?[~][ADEFGgklNOPpQRSTuUvV#$=]"
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
302 " Parameter: range
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
303 syntax match muttrcSimplePat contained "!\?\^\?[~][mnXz]\s*\%([<>-][0-9]\+[kM]\?\|[0-9]\+[kM]\?[-]\%([0-9]\+[kM]\?\)\?\)"
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
304 " Parameter: date
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
305 syntax match muttrcSimplePat contained "!\?\^\?[~][dr]\s*\%(\%(-\?[0-9]\{1,2}\%(/[0-9]\{1,2}\%(/[0-9]\{2}\%([0-9]\{2}\)\?\)\?\)\?\%([+*-][0-9]\+[ymwd]\)*\)\|\%(\%([0-9]\{1,2}\%(/[0-9]\{1,2}\%(/[0-9]\{2}\%([0-9]\{2}\)\?\)\?\)\?\%([+*-][0-9]\+[ymwd]\)*\)-\%([0-9]\{1,2}\%(/[0-9]\{1,2}\%(/[0-9]\{2}\%([0-9]\{2}\)\?\)\?\)\?\%([+*-][0-9]\+[ymwd]\)\?\)\?\)\|\%([<>=][0-9]\+[ymwd]\)\|\%(`[^`]\+`\)\|\%(\$[a-zA-Z0-9_-]\+\)\)" contains=muttrcShellString,muttrcVariable
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
306 " Parameter: regex
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
307 syntax match muttrcSimplePat contained "!\?\^\?[~][BbCcefHhIiLMstwxYy]\s*" nextgroup=muttrcSimplePatRXContainer
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
308 " Parameter: pattern
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
309 syntax match muttrcSimplePat contained "!\?\^\?[%][bBcCefhHiLstxy]\s*" nextgroup=muttrcSimplePatString
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
310 " Parameter: pattern
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
311 syntax match muttrcSimplePat contained "!\?\^\?[=][bcCefhHiLstxy]\s*" nextgroup=muttrcSimplePatString
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
312 syntax region muttrcSimplePat contained keepend start=+!\?\^\?[~](+ end=+)+ contains=muttrcSimplePat
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
313
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
314 "syn match muttrcSimplePat contained /'[^~=%][^']*/ contains=muttrcRXString
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
315 syntax region muttrcSimplePatString contained keepend start=+"+ end=+"+ skip=+\\"+
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
316 syntax region muttrcSimplePatString contained keepend start=+'+ end=+'+ skip=+\\'+
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
317 syntax region muttrcSimplePatString contained keepend start=+[^ "']+ skip=+\\ + end=+\s+re=e-1
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
318 syntax region muttrcSimplePatRXContainer contained keepend start=+"+ end=+"+ skip=+\\"+ contains=muttrcRXString
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
319 syntax region muttrcSimplePatRXContainer contained keepend start=+'+ end=+'+ skip=+\\'+ contains=muttrcRXString
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
320 syntax region muttrcSimplePatRXContainer contained keepend start=+[^ "']+ skip=+\\ + end=+\s+re=e-1 contains=muttrcRXString
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
321 syntax match muttrcSimplePatMetas contained /[(|)]/
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
322
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
323 syntax match muttrcOptSimplePat contained skipwhite /[~=%!(^].*/ contains=muttrcSimplePat,muttrcSimplePatMetas
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
324 syntax match muttrcOptSimplePat contained skipwhite /[^~=%!(^].*/ contains=muttrcRXString
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
325 syntax region muttrcOptPattern contained matchgroup=Type keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcOptSimplePat,muttrcUnHighlightSpace nextgroup=muttrcString,muttrcStringNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
326 syntax region muttrcOptPattern contained matchgroup=Type keepend skipwhite start=+'+ skip=+\\'+ end=+'+ contains=muttrcOptSimplePat,muttrcUnHighlightSpace nextgroup=muttrcString,muttrcStringNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
327 syntax region muttrcOptPattern contained keepend skipwhite start=+[~](+ end=+)+ skip=+\\)+ contains=muttrcSimplePat nextgroup=muttrcString,muttrcStringNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
328 syntax match muttrcOptPattern contained skipwhite /[~][A-Za-z]/ contains=muttrcSimplePat nextgroup=muttrcString,muttrcStringNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
329 syntax match muttrcOptPattern contained skipwhite /[.]/ nextgroup=muttrcString,muttrcStringNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
330 " Keep muttrcPattern and muttrcOptPattern synchronized
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
331 syntax region muttrcPattern contained matchgroup=Type keepend skipwhite start=+"+ skip=+\\"+ end=+"+ contains=muttrcSimplePat,muttrcUnHighlightSpace,muttrcSimplePatMetas
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
332 syntax region muttrcPattern contained matchgroup=Type keepend skipwhite start=+'+ skip=+\\'+ end=+'+ contains=muttrcSimplePat,muttrcUnHighlightSpace,muttrcSimplePatMetas
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
333 syntax region muttrcPattern contained keepend skipwhite start=+[~](+ end=+)+ skip=+\\)+ contains=muttrcSimplePat
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
334 syntax match muttrcPattern contained skipwhite /[~][A-Za-z]/ contains=muttrcSimplePat
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
335 syntax match muttrcPattern contained skipwhite /[.]/
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
336 syntax region muttrcPatternInner contained keepend start=+"[~=%!(^]+ms=s+1 skip=+\\"+ end=+"+me=e-1 contains=muttrcSimplePat,muttrcUnHighlightSpace,muttrcSimplePatMetas
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
337 syntax region muttrcPatternInner contained keepend start=+'[~=%!(^]+ms=s+1 skip=+\\'+ end=+'+me=e-1 contains=muttrcSimplePat,muttrcUnHighlightSpace,muttrcSimplePatMetas
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
338
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
339 " Colour definitions takes object, foreground and background arguments (regexps excluded).
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
340 syntax match muttrcColorMatchCount contained "[0-9]\+"
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
341 syntax match muttrcColorMatchCountNL contained skipwhite skipnl "\s*\\$" nextgroup=muttrcColorMatchCount,muttrcColorMatchCountNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
342 syntax region muttrcColorRXPat contained start=+\s*'+ skip=+\\'+ end=+'\s*+ keepend skipwhite contains=muttrcRXString2 nextgroup=muttrcColorMatchCount,muttrcColorMatchCountNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
343 syntax region muttrcColorRXPat contained start=+\s*"+ skip=+\\"+ end=+"\s*+ keepend skipwhite contains=muttrcRXString2 nextgroup=muttrcColorMatchCount,muttrcColorMatchCountNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
344 syntax keyword muttrcColor contained black blue cyan default green magenta red white yellow
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
345 syntax keyword muttrcColor contained brightblack brightblue brightcyan brightdefault brightgreen brightmagenta brightred brightwhite brightyellow
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
346 syntax match muttrcColor contained "\<\%(bright\)\=color\d\{1,3}\>"
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
347 " Now for the structure of the color line
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
348 syntax match muttrcColorRXNL contained skipnl "\s*\\$" nextgroup=muttrcColorRXPat,muttrcColorRXNL
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
349 syntax match muttrcColorBG contained /\s*[$]\?\w\+/ contains=muttrcColor,muttrcVariable,muttrcUnHighlightSpace nextgroup=muttrcColorRXPat,muttrcColorRXNL
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
350 syntax match muttrcColorBGNL contained skipnl "\s*\\$" nextgroup=muttrcColorBG,muttrcColorBGNL
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
351 syntax match muttrcColorFG contained /\s*[$]\?\w\+/ contains=muttrcColor,muttrcVariable,muttrcUnHighlightSpace nextgroup=muttrcColorBG,muttrcColorBGNL
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
352 syntax match muttrcColorFGNL contained skipnl "\s*\\$" nextgroup=muttrcColorFG,muttrcColorFGNL
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
353 syntax match muttrcColorContext contained /\s*[$]\?\w\+/ contains=muttrcColorField,muttrcVariable,muttrcUnHighlightSpace,muttrcColorCompose nextgroup=muttrcColorFG,muttrcColorFGNL
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
354 syntax match muttrcColorNL contained skipnl "\s*\\$" nextgroup=muttrcColorContext,muttrcColorNL,muttrcColorCompose
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
355 syntax match muttrcColorKeyword contained /^\s*color\s\+/ nextgroup=muttrcColorContext,muttrcColorNL,muttrcColorCompose
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
356 " And now color's brother:
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
357 syntax region muttrcUnColorPatterns contained skipwhite start=+\s*'+ end=+'+ skip=+\\'+ contains=muttrcPattern nextgroup=muttrcUnColorPatterns,muttrcUnColorPatNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
358 syntax region muttrcUnColorPatterns contained skipwhite start=+\s*"+ end=+"+ skip=+\\"+ contains=muttrcPattern nextgroup=muttrcUnColorPatterns,muttrcUnColorPatNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
359 syntax match muttrcUnColorPatterns contained skipwhite /\s*[^'"\s]\S\*/ contains=muttrcPattern nextgroup=muttrcUnColorPatterns,muttrcUnColorPatNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
360 syntax match muttrcUnColorPatNL contained skipwhite skipnl /\s*\\$/ nextgroup=muttrcUnColorPatterns,muttrcUnColorPatNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
361 syntax match muttrcUnColorAll contained skipwhite /[*]/
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
362 syntax match muttrcUnColorAPNL contained skipwhite skipnl /\s*\\$/ nextgroup=muttrcUnColorPatterns,muttrcUnColorAll,muttrcUnColorAPNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
363 syntax match muttrcUnColorIndex contained skipwhite /\s*index\s\+/ nextgroup=muttrcUnColorPatterns,muttrcUnColorAll,muttrcUnColorAPNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
364 syntax match muttrcUnColorIndexNL contained skipwhite skipnl /\s*\\$/ nextgroup=muttrcUnColorIndex,muttrcUnColorIndexNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
365 syntax match muttrcUnColorKeyword contained skipwhite /^\s*uncolor\s\+/ nextgroup=muttrcUnColorIndex,muttrcUnColorIndexNL
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
366 syntax region muttrcUnColorLine keepend start=+^\s*uncolor\s+ skip=+\\$+ end=+$+ contains=muttrcUnColorKeyword,muttrcComment,muttrcUnHighlightSpace
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
367
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
368 syntax keyword muttrcMonoAttrib contained bold none normal reverse standout underline
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
369 syntax keyword muttrcMono contained mono skipwhite nextgroup=muttrcColorField,muttrcColorCompose
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
370 syntax match muttrcMonoLine "^\s*mono\s\+\S\+" skipwhite nextgroup=muttrcMonoAttrib contains=muttrcMono
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
371
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
372 " CHECKED 2020-06-21
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
373 " List of fields in Fields in color.c
13735
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
374 syntax keyword muttrcColorField skipwhite contained
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
375 \ attachment attach_headers body bold error hdrdefault header index index_author
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
376 \ index_collapsed index_date index_flags index_label index_number index_size index_subject
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
377 \ index_tag index_tags indicator markers message normal options progress prompt quoted
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
378 \ search sidebar_divider sidebar_flagged sidebar_highlight sidebar_indicator sidebar_new
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
379 \ sidebar_ordinary sidebar_spoolfile sidebar_unread signature status tilde tree underline
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
380 \ warning nextgroup=muttrcColor
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
381
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
382 syntax match muttrcColorField contained "\<quoted\d\=\>"
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
383
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
384 syntax match muttrcColorCompose skipwhite contained /\s*compose\s*/ nextgroup=muttrcColorComposeField
13735
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
385
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
386 " CHECKED 2020-06-21
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
387 " List of fields in ComposeFields in color.c
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
388 syntax keyword muttrcColorComposeField skipwhite contained
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
389 \ header security_both security_encrypt security_none security_sign
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
390 \ nextgroup=muttrcColorFG,muttrcColorFGNL
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
391 syntax region muttrcColorLine keepend start=/^\s*color\s\+/ skip=+\\$+ end=+$+ contains=muttrcColorKeyword,muttrcComment,muttrcUnHighlightSpace
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
392
13735
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
393 function! s:boolQuadGen(type, vars, deprecated)
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
394 let l:novars = copy(a:vars)
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
395 call map(l:novars, '"no" . v:val')
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
396 let l:invvars = copy(a:vars)
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
397 call map(l:invvars, '"inv" . v:val')
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
398
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
399 let l:orig_type = copy(a:type)
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
400 if a:deprecated
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
401 let l:type = 'Deprecated' . a:type
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
402 exec 'syntax keyword muttrcVar' . l:type . ' ' . join(a:vars)
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
403 exec 'syntax keyword muttrcVar' . l:type . ' ' . join(l:novars)
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
404 exec 'syntax keyword muttrcVar' . l:type . ' ' . join(l:invvars)
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
405 else
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
406 let l:type = a:type
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
407 exec 'syntax keyword muttrcVar' . l:type . ' skipwhite contained ' . join(a:vars) . ' nextgroup=muttrcSet' . l:orig_type . 'Assignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr'
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
408 exec 'syntax keyword muttrcVar' . l:type . ' skipwhite contained ' . join(l:novars) . ' nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr'
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
409 exec 'syntax keyword muttrcVar' . l:type . ' skipwhite contained ' . join(l:invvars) . ' nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr'
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
410 endif
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
411
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
412 endfunction
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
413
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
414 " CHECKED 2020-06-21
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
415 " List of DT_BOOL in MuttVars in mutt_config.c
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
416 call s:boolQuadGen('Bool', [
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
417 \ 'abort_backspace', 'allow_8bit', 'allow_ansi', 'arrow_cursor', 'ascii_chars', 'askbcc',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
418 \ 'askcc', 'ask_follow_up', 'ask_x_comment_to', 'attach_save_without_prompting',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
419 \ 'attach_split', 'autocrypt', 'autocrypt_reply', 'autoedit', 'auto_subscribe', 'auto_tag',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
420 \ 'beep', 'beep_new', 'bounce_delivered', 'braille_friendly',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
421 \ 'browser_abbreviate_mailboxes', 'change_folder_next', 'check_mbox_size', 'check_new',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
422 \ 'collapse_all', 'collapse_flagged', 'collapse_unread', 'confirmappend', 'confirmcreate',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
423 \ 'crypt_autoencrypt', 'crypt_autopgp', 'crypt_autosign', 'crypt_autosmime',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
424 \ 'crypt_confirmhook', 'crypt_opportunistic_encrypt',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
425 \ 'crypt_opportunistic_encrypt_strong_keys', 'crypt_protected_headers_read',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
426 \ 'crypt_protected_headers_save', 'crypt_protected_headers_write', 'crypt_replyencrypt',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
427 \ 'crypt_replysign', 'crypt_replysignencrypted', 'crypt_timestamp', 'crypt_use_gpgme',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
428 \ 'crypt_use_pka', 'delete_untag', 'digest_collapse', 'duplicate_threads', 'edit_headers',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
429 \ 'encode_from', 'fast_reply', 'fcc_before_send', 'fcc_clear', 'flag_safe', 'followup_to',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
430 \ 'force_name', 'forward_decode', 'forward_decrypt', 'forward_quote', 'forward_references',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
431 \ 'hdrs', 'header', 'header_color_partial', 'help', 'hidden_host', 'hide_limited',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
432 \ 'hide_missing', 'hide_thread_subject', 'hide_top_limited', 'hide_top_missing',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
433 \ 'history_remove_dups', 'honor_disposition', 'idn_decode', 'idn_encode',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
434 \ 'ignore_list_reply_to', 'imap_check_subscribed', 'imap_condstore', 'imap_deflate',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
435 \ 'imap_idle', 'imap_list_subscribed', 'imap_passive', 'imap_peek', 'imap_qresync',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
436 \ 'imap_rfc5161', 'imap_servernoise', 'implicit_autoview', 'include_encrypted',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
437 \ 'include_onlyfirst', 'keep_flagged', 'mailcap_sanitize', 'maildir_check_cur',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
438 \ 'maildir_header_cache_verify', 'maildir_trash', 'mail_check_recent', 'mail_check_stats',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
439 \ 'markers', 'mark_old', 'menu_move_off', 'menu_scroll', 'message_cache_clean', 'meta_key',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
440 \ 'metoo', 'mh_purge', 'mime_forward_decode', 'mime_subject', 'mime_type_query_first',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
441 \ 'narrow_tree', 'nm_record', 'nntp_listgroup', 'nntp_load_description', 'pager_stop',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
442 \ 'pgp_autoinline', 'pgp_auto_decode', 'pgp_check_exit', 'pgp_check_gpg_decrypt_status_fd',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
443 \ 'pgp_ignore_subkeys', 'pgp_long_ids', 'pgp_replyinline', 'pgp_retainable_sigs',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
444 \ 'pgp_self_encrypt', 'pgp_show_unusable', 'pgp_strict_enc', 'pgp_use_gpg_agent',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
445 \ 'pipe_decode', 'pipe_split', 'pop_auth_try_all', 'pop_last', 'postpone_encrypt',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
446 \ 'print_decode', 'print_split', 'prompt_after', 'read_only', 'reflow_space_quotes',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
447 \ 'reflow_text', 'reply_self', 'reply_with_xorig', 'resolve', 'resume_draft_files',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
448 \ 'resume_edited_draft_files', 'reverse_alias', 'reverse_name', 'reverse_realname',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
449 \ 'rfc2047_parameters', 'save_address', 'save_empty', 'save_name', 'save_unsubscribed',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
450 \ 'score', 'show_new_news', 'show_only_unread', 'sidebar_folder_indent',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
451 \ 'sidebar_new_mail_only', 'sidebar_next_new_wrap', 'sidebar_non_empty_mailbox_only',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
452 \ 'sidebar_on_right', 'sidebar_short_path', 'sidebar_visible', 'sig_dashes', 'sig_on_top',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
453 \ 'size_show_bytes', 'size_show_fractions', 'size_show_mb', 'size_units_on_left',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
454 \ 'smart_wrap', 'smime_ask_cert_label', 'smime_decrypt_use_default_key', 'smime_is_default',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
455 \ 'smime_self_encrypt', 'sort_re', 'ssl_force_tls', 'ssl_usesystemcerts', 'ssl_use_sslv2',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
456 \ 'ssl_use_sslv3', 'ssl_use_tlsv1', 'ssl_use_tlsv1_1', 'ssl_use_tlsv1_2', 'ssl_use_tlsv1_3',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
457 \ 'ssl_verify_dates', 'ssl_verify_host', 'ssl_verify_partial_chains', 'status_on_top',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
458 \ 'strict_threads', 'suspend', 'text_flowed', 'thorough_search', 'thread_received', 'tilde',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
459 \ 'ts_enabled', 'uncollapse_jump', 'uncollapse_new', 'user_agent', 'use_8bitmime',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
460 \ 'use_domain', 'use_envelope_from', 'use_from', 'use_ipv6', 'virtual_spoolfile',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
461 \ 'wait_key', 'weed', 'wrap_search', 'write_bcc', 'x_comment_to'
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
462 \ ], 0)
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
463
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
464 " CHECKED 2020-06-21
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
465 " Deprecated Bools
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
466 " List of DT_SYNONYM or DT_DEPRECATED Bools in MuttVars in mutt_config.c
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
467 call s:boolQuadGen('Bool', [
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
468 \ 'edit_hdrs', 'envelope_from', 'forw_decode', 'forw_decrypt', 'forw_quote',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
469 \ 'header_cache_compress', 'ignore_linear_white_space', 'pgp_autoencrypt', 'pgp_autosign',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
470 \ 'pgp_auto_traditional', 'pgp_create_traditional', 'pgp_replyencrypt', 'pgp_replysign',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
471 \ 'pgp_replysignencrypted', 'xterm_set_titles'
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
472 \ ], 1)
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
473
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
474 " CHECKED 2020-06-21
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
475 " List of DT_QUAD in MuttVars in mutt_config.c
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
476 call s:boolQuadGen('Quad', [
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
477 \ 'abort_noattach', 'abort_nosubject', 'abort_unmodified', 'bounce', 'catchup_newsgroup',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
478 \ 'copy', 'crypt_verify_sig', 'delete', 'fcc_attach', 'followup_to_poster',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
479 \ 'forward_attachments', 'forward_edit', 'honor_followup_to', 'include', 'mime_forward',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
480 \ 'mime_forward_rest', 'move', 'pgp_mime_auto', 'pop_delete', 'pop_reconnect', 'postpone',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
481 \ 'post_moderated', 'print', 'quit', 'recall', 'reply_to', 'ssl_starttls',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
482 \ ], 0)
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
483
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
484 " CHECKED 2020-06-21
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
485 " Deprecated Quads
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
486 " List of DT_SYNONYM or DT_DEPRECATED Quads in MuttVars in mutt_config.c
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
487 call s:boolQuadGen('Quad', [
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
488 \ 'mime_fwd', 'pgp_encrypt_self', 'pgp_verify_sig', 'smime_encrypt_self'
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
489 \ ], 1)
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
490
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
491 " CHECKED 2020-06-21
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
492 " List of DT_NUMBER or DT_LONG in MuttVars in mutt_config.c
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
493 syntax keyword muttrcVarNum skipwhite contained
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
494 \ connect_timeout debug_level header_cache_compress_level history
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
495 \ imap_fetch_chunk_size imap_keepalive imap_pipeline_depth imap_poll_timeout mail_check
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
496 \ mail_check_stats_interval menu_context net_inc nm_db_limit nm_open_timeout
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
497 \ nm_query_window_current_position nm_query_window_duration nntp_context nntp_poll
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
498 \ pager_context pager_index_lines pgp_timeout pop_checkinterval read_inc reflow_wrap
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
499 \ save_history score_threshold_delete score_threshold_flag score_threshold_read
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
500 \ search_context sendmail_wait sidebar_component_depth sidebar_width skip_quoted_offset
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
501 \ sleep_time smime_timeout ssl_min_dh_prime_bits timeout time_inc toggle_quoted_show_levels
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
502 \ wrap wrap_headers write_inc
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
503 \ nextgroup=muttrcSetNumAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
13735
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
504 syntax keyword muttrcVarDeprecatedNum contained skipwhite
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
505 \ header_cache_pagesize wrapmargin
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
506 \ nextgroup=muttrcSetNumAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
507
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
508 " CHECKED 2020-06-21
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
509 " List of DT_STRING in MuttVars in mutt_config.c
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
510 " Special cases first, and all the rest at the end
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
511 " Formats themselves must be updated in their respective groups
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
512 " See s:escapesConditionals
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
513 syntax match muttrcVarStr contained skipwhite 'my_[a-zA-Z0-9_]\+' nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
514 syntax keyword muttrcVarStr contained skipwhite alias_format nextgroup=muttrcVarEqualsAliasFmt
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
515 syntax keyword muttrcVarStr contained skipwhite attach_format nextgroup=muttrcVarEqualsAttachFmt
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
516 syntax keyword muttrcVarStr contained skipwhite compose_format nextgroup=muttrcVarEqualsComposeFmt
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
517 syntax keyword muttrcVarStr contained skipwhite folder_format vfolder_format nextgroup=muttrcVarEqualsFolderFmt
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
518 syntax keyword muttrcVarStr contained skipwhite attribution forward_format index_format message_format pager_format nextgroup=muttrcVarEqualsIdxFmt
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
519 syntax keyword muttrcVarStr contained skipwhite mix_entry_format nextgroup=muttrcVarEqualsMixFmt
13735
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
520 syntax keyword muttrcVarStr contained skipwhite
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
521 \ pgp_clearsign_command pgp_decode_command pgp_decrypt_command
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
522 \ pgp_encrypt_only_command pgp_encrypt_sign_command pgp_export_command pgp_getkeys_command
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
523 \ pgp_import_command pgp_list_pubring_command pgp_list_secring_command
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
524 \ pgp_sign_command pgp_verify_command pgp_verify_key_command
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
525 \ nextgroup=muttrcVarEqualsPGPCmdFmt
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
526 syntax keyword muttrcVarStr contained skipwhite pgp_entry_format nextgroup=muttrcVarEqualsPGPFmt
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
527 syntax keyword muttrcVarStr contained skipwhite query_format nextgroup=muttrcVarEqualsQueryFmt
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
528 syntax keyword muttrcVarStr contained skipwhite
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
529 \ smime_decrypt_command smime_encrypt_command smime_get_cert_command
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
530 \ smime_get_cert_email_command smime_get_signer_cert_command
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
531 \ smime_import_cert_command smime_pk7out_command smime_sign_command
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
532 \ smime_verify_command smime_verify_opaque_command
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
533 \ nextgroup=muttrcVarEqualsSmimeFmt
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
534 syntax keyword muttrcVarStr contained skipwhite status_format ts_icon_format ts_status_format nextgroup=muttrcVarEqualsStatusFmt
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
535 syntax keyword muttrcVarStr contained skipwhite date_format nextgroup=muttrcVarEqualsStrftimeFmt
13735
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
536 syntax keyword muttrcVarStr contained skipwhite group_index_format nextgroup=muttrcVarEqualsGrpIdxFmt
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
537 syntax keyword muttrcVarStr contained skipwhite sidebar_format nextgroup=muttrcVarEqualsSdbFmt
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
538 syntax keyword muttrcVarStr contained skipwhite
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
539 \ abort_key arrow_string assumed_charset attach_charset attach_sep attribution_locale
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
540 \ autocrypt_acct_format charset config_charset content_type crypt_protected_headers_subject
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
541 \ default_hook dsn_notify dsn_return empty_subject escape forward_attribution_intro
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
542 \ forward_attribution_trailer header_cache_backend header_cache_compress_method hidden_tags
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
543 \ hostname imap_authenticators imap_delim_chars imap_headers imap_login imap_pass imap_user
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
544 \ indent_string mailcap_path mark_macro_prefix mh_seq_flagged mh_seq_replied mh_seq_unseen
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
545 \ newsgroups_charset news_server nm_default_url nm_exclude_tags nm_flagged_tag nm_query_type
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
546 \ nm_query_window_current_search nm_query_window_timebase nm_record_tags nm_replied_tag
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
547 \ nm_unread_tag nntp_authenticators nntp_pass nntp_user pgp_default_key pgp_sign_as pipe_sep
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
548 \ pop_authenticators pop_host pop_pass pop_user postpone_encrypt_as post_indent_string
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
549 \ preconnect preferred_languages realname send_charset show_multipart_alternative
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
550 \ sidebar_delim_chars sidebar_divider_char sidebar_indent_string simple_search
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
551 \ smime_default_key smime_encrypt_with smime_sign_as smime_sign_digest_alg
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
552 \ smtp_authenticators smtp_pass smtp_url smtp_user spam_separator ssl_ciphers
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
553 \ nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
554
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
555 " Deprecated strings
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
556 syntax keyword muttrcVarDeprecatedStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
557 \ abort_noattach_regexp attach_keyword forw_format hdr_format indent_str msg_format
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
558 \ nm_default_uri pgp_self_encrypt_as post_indent_str print_cmd quote_regexp reply_regexp
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
559 \ smime_self_encrypt_as xterm_icon xterm_title
13735
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
560
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
561 " CHECKED 2020-06-21
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
562 " List of DT_ADDRESS
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
563 syntax keyword muttrcVarStr contained skipwhite envelope_from_address from nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
18664
daa71bf6b546 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 13735
diff changeset
564 " List of DT_ENUM
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
565 syntax keyword muttrcVarStr contained skipwhite mbox_type nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
566 " List of DT_MBTABLE
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
567 syntax keyword muttrcVarStr contained skipwhite crypt_chars flag_chars from_chars status_chars to_chars nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
13735
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
568
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
569 " CHECKED 2020-06-21
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
570 " List of DT_PATH
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
571 syntax keyword muttrcVarStr contained skipwhite
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
572 \ alias_file attach_save_dir autocrypt_dir certificate_file debug_file
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
573 \ entropy_file folder header_cache history_file mbox message_cachedir newsrc
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
574 \ news_cache_dir postponed record signature smime_ca_location
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
575 \ smime_certificates smime_keys spoolfile ssl_ca_certificates_file
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
576 \ ssl_client_cert tmpdir trash
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
577 \ nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
18664
daa71bf6b546 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 13735
diff changeset
578 " List of DT_COMMAND (excluding pgp_*_command and smime_*_command)
daa71bf6b546 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 13735
diff changeset
579 syntax keyword muttrcVarStr contained skipwhite
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
580 \ display_filter editor inews ispell mixmaster new_mail_command pager
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
581 \ print_command query_command sendmail shell visual external_search_command
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
582 \ imap_oauth_refresh_command pop_oauth_refresh_command
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
583 \ mime_type_query_command smtp_oauth_refresh_command tunnel
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
584 \ nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
13735
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
585
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
586 " CHECKED 2020-06-21
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
587 " List of DT_REGEX
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
588 syntax keyword muttrcVarStr contained skipwhite
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
589 \ abort_noattach_regex gecos_mask mask pgp_decryption_okay pgp_good_sign
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
590 \ quote_regex reply_regex smileys
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
591 \ nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
592 " List of DT_SORT
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
593 syntax keyword muttrcVarStr contained skipwhite
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
594 \ pgp_sort_keys sidebar_sort_method sort sort_alias sort_aux sort_browser
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
595 \ nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
596
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
597 " CHECKED 2020-06-21
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
598 " List of commands in Commands in mutt_config.c
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
599 " Remember to remove hooks, they have already been dealt with
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
600 syntax keyword muttrcCommand skipwhite alias nextgroup=muttrcAliasGroupDef,muttrcAliasKey,muttrcAliasNL
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
601 syntax keyword muttrcCommand skipwhite bind nextgroup=muttrcBindMenuList,muttrcBindMenuListNL
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
602 syntax keyword muttrcCommand skipwhite exec nextgroup=muttrcFunction
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
603 syntax keyword muttrcCommand skipwhite macro nextgroup=muttrcMacroMenuList,muttrcMacroMenuListNL
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
604 syntax keyword muttrcCommand skipwhite nospam nextgroup=muttrcNoSpamPattern
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
605 syntax keyword muttrcCommand skipwhite set unset reset toggle nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
606 syntax keyword muttrcCommand skipwhite spam nextgroup=muttrcSpamPattern
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
607 syntax keyword muttrcCommand skipwhite unalias nextgroup=muttrcUnAliasKey,muttrcUnAliasNL
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
608 syntax keyword muttrcCommand skipwhite unhook nextgroup=muttrcHooks
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
609 syntax keyword muttrcCommand skipwhite
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
610 \ alternative_order attachments auto_view finish hdr_order ifdef ifndef
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
611 \ ignore lua lua-source mailboxes mailto_allow mime_lookup my_hdr push score
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
612 \ setenv sidebar_whitelist source subjectrx subscribe-to tag-formats
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
613 \ tag-transforms unalternative_order unattachments unauto_view uncolor
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
614 \ unhdr_order unignore unmailboxes unmailto_allow unmime_lookup unmono
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
615 \ unmy_hdr unscore unsetenv unsidebar_whitelist unsubjectrx unsubscribe-from
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
616 \ unvirtual-mailboxes virtual-mailboxes named-mailboxes
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
617 \ echo unbind unmacro
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
618
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
619 function! s:genFunctions(functions)
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
620 for f in a:functions
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
621 exec 'syntax match muttrcFunction contained "\<' . l:f . '\>"'
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
622 endfor
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
623 endfunction
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
624
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
625 " CHECKED 2020-06-21
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
626 " List of functions in functions.c
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
627 " Note: 'noop' is included but is elsewhere in the source
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
628 call s:genFunctions(['noop',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
629 \ 'accept', 'append', 'attach-file', 'attach-key', 'attach-message', 'attach-news-message',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
630 \ 'autocrypt-acct-menu', 'autocrypt-menu', 'backspace', 'backward-char', 'backward-word',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
631 \ 'bol', 'bottom-page', 'bottom', 'bounce-message', 'break-thread', 'buffy-cycle',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
632 \ 'buffy-list', 'capitalize-word', 'catchup', 'chain-next', 'chain-prev', 'change-dir',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
633 \ 'change-folder-readonly', 'change-folder', 'change-newsgroup-readonly',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
634 \ 'change-newsgroup', 'change-vfolder', 'check-new', 'check-stats',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
635 \ 'check-traditional-pgp', 'clear-flag', 'collapse-all', 'collapse-parts',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
636 \ 'collapse-thread', 'complete-query', 'complete', 'compose-to-sender', 'copy-file',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
637 \ 'copy-message', 'create-account', 'create-alias', 'create-mailbox', 'current-bottom',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
638 \ 'current-middle', 'current-top', 'decode-copy', 'decode-save', 'decrypt-copy',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
639 \ 'decrypt-save', 'delete-account', 'delete-char', 'delete-entry', 'delete-mailbox',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
640 \ 'delete-message', 'delete-pattern', 'delete-subthread', 'delete-thread', 'delete',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
641 \ 'descend-directory', 'detach-file', 'display-address', 'display-filename',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
642 \ 'display-message', 'display-toggle-weed', 'downcase-word', 'edit-bcc', 'edit-cc',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
643 \ 'edit-description', 'edit-encoding', 'edit-fcc', 'edit-file', 'edit-followup-to',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
644 \ 'edit-from', 'edit-headers', 'edit-label', 'edit-language', 'edit-message', 'edit-mime',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
645 \ 'edit-newsgroups', 'edit-or-view-raw-message', 'edit-raw-message', 'edit-reply-to',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
646 \ 'edit-subject', 'edit-to', 'edit-type', 'edit-x-comment-to', 'edit', 'end-cond',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
647 \ 'enter-command', 'enter-mask', 'entire-thread', 'eol', 'exit', 'extract-keys',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
648 \ 'fetch-mail', 'filter-entry', 'first-entry', 'flag-message', 'followup-message',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
649 \ 'forget-passphrase', 'forward-char', 'forward-message', 'forward-to-group',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
650 \ 'forward-word', 'get-attachment', 'get-children', 'get-message', 'get-parent',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
651 \ 'goto-folder', 'goto-parent', 'group-alternatives', 'group-chat-reply',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
652 \ 'group-multilingual', 'group-reply', 'half-down', 'half-up', 'help', 'history-down',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
653 \ 'history-search', 'history-up', 'imap-fetch-mail', 'imap-logout-all', 'insert', 'ispell',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
654 \ 'jump', 'kill-eol', 'kill-eow', 'kill-line', 'kill-word', 'last-entry',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
655 \ 'limit-current-thread', 'limit', 'link-threads', 'list-reply', 'mail-key',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
656 \ 'mailbox-cycle', 'mailbox-list', 'mail', 'mark-as-new', 'mark-message', 'middle-page',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
657 \ 'mix', 'modify-labels-then-hide', 'modify-labels', 'modify-tags-then-hide',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
658 \ 'modify-tags', 'move-down', 'move-up', 'new-mime', 'next-entry', 'next-line',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
659 \ 'next-new-then-unread', 'next-new', 'next-page', 'next-subthread', 'next-thread',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
660 \ 'next-undeleted', 'next-unread-mailbox', 'next-unread', 'parent-message', 'pgp-menu',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
661 \ 'pipe-entry', 'pipe-message', 'post-message', 'postpone-message', 'previous-entry',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
662 \ 'previous-line', 'previous-new-then-unread', 'previous-new', 'previous-page',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
663 \ 'previous-subthread', 'previous-thread', 'previous-undeleted', 'previous-unread',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
664 \ 'print-entry', 'print-message', 'purge-message', 'purge-thread', 'quasi-delete',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
665 \ 'query-append', 'query', 'quit', 'quote-char', 'read-subthread', 'read-thread',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
666 \ 'recall-message', 'reconstruct-thread', 'redraw-screen', 'refresh', 'reload-active',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
667 \ 'rename-attachment', 'rename-file', 'rename-mailbox', 'reply', 'resend-message',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
668 \ 'root-message', 'save-entry', 'save-message', 'search-next', 'search-opposite',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
669 \ 'search-reverse', 'search-toggle', 'search', 'select-entry', 'select-new',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
670 \ 'send-message', 'set-flag', 'shell-escape', 'show-limit', 'show-log-messages',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
671 \ 'show-version', 'sidebar-next-new', 'sidebar-first', 'sidebar-last', 'sidebar-next',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
672 \ 'sidebar-open', 'sidebar-page-down', 'sidebar-page-up', 'sidebar-prev-new',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
673 \ 'sidebar-prev', 'sidebar-toggle-virtual', 'sidebar-toggle-visible', 'skip-quoted',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
674 \ 'smime-menu', 'sort-mailbox', 'sort-reverse', 'sort', 'subscribe-pattern',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
675 \ 'sync-mailbox', 'tag-entry', 'tag-message', 'tag-pattern', 'tag-prefix-cond',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
676 \ 'tag-prefix', 'tag-subthread', 'tag-thread', 'toggle-active', 'toggle-disposition',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
677 \ 'toggle-mailboxes', 'toggle-new', 'toggle-prefer-encrypt', 'toggle-quoted',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
678 \ 'toggle-read', 'toggle-recode', 'toggle-subscribed', 'toggle-unlink', 'toggle-write',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
679 \ 'top-page', 'top', 'transpose-chars', 'uncatchup', 'undelete-entry', 'undelete-message',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
680 \ 'undelete-pattern', 'undelete-subthread', 'undelete-thread', 'unsubscribe-pattern',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
681 \ 'untag-pattern', 'upcase-word', 'update-encoding', 'verify-key',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
682 \ 'vfolder-from-query-readonly', 'vfolder-from-query', 'vfolder-window-backward',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
683 \ 'vfolder-window-forward', 'view-attachments', 'view-attach', 'view-file', 'view-mailcap',
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
684 \ 'view-name', 'view-raw-message', 'view-text', 'what-key', 'write-fcc'
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
685 \ ])
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
686
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
687 " Define the default highlighting.
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
688 " Only when an item doesn't have highlighting yet
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
689
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
690 highlight def link muttrcSetBoolAssignment Boolean
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
691 highlight def link muttrcSetQuadAssignment Boolean
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
692
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
693 highlight def link muttrcComment Comment
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
694
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
695 highlight def link muttrcAlternatesLine Error
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
696 highlight def link muttrcBadAction Error
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
697 highlight def link muttrcBindFunction Error
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
698 highlight def link muttrcBindMenuList Error
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
699 highlight def link muttrcColorBG Error
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
700 highlight def link muttrcColorBGH Error
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
701 highlight def link muttrcColorBGI Error
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
702 highlight def link muttrcColorContext Error
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
703 highlight def link muttrcColorFG Error
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
704 highlight def link muttrcColorFGH Error
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
705 highlight def link muttrcColorFGI Error
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
706 highlight def link muttrcColorLine Error
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
707 highlight def link muttrcFormatErrors Error
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
708 highlight def link muttrcGroupLine Error
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
709 highlight def link muttrcListsLine Error
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
710 highlight def link muttrcPattern Error
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
711 highlight def link muttrcSubscribeLine Error
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
712 highlight def link muttrcUnColorLine Error
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
713 highlight def link muttrcVarDeprecatedBool Error
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
714 highlight def link muttrcVarDeprecatedQuad Error
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
715 highlight def link muttrcVarDeprecatedStr Error
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
716
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
717 highlight def link muttrcAliasEncEmail Identifier
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
718 highlight def link muttrcAliasKey Identifier
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
719 highlight def link muttrcColorCompose Identifier
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
720 highlight def link muttrcColorComposeField Identifier
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
721 highlight def link muttrcColorContextH Identifier
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
722 highlight def link muttrcColorContextI Identifier
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
723 highlight def link muttrcColorField Identifier
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
724 highlight def link muttrcMenu Identifier
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
725 highlight def link muttrcSimplePat Identifier
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
726 highlight def link muttrcUnAliasKey Identifier
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
727 highlight def link muttrcUnColorIndex Identifier
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
728 highlight def link muttrcVarBool Identifier
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
729 highlight def link muttrcVarNum Identifier
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
730 highlight def link muttrcVarQuad Identifier
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
731 highlight def link muttrcVarStr Identifier
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
732
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
733 highlight def link muttrcCommand Keyword
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
734
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
735 highlight def link muttrcAction Macro
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
736 highlight def link muttrcAliasGroupName Macro
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
737 highlight def link muttrcFunction Macro
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
738 highlight def link muttrcGroupDef Macro
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
739 highlight def link muttrcSimplePatString Macro
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
740
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
741 highlight def link muttrcMonoAttrib muttrcColor
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
742
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
743 highlight def link muttrcAlternateKeyword muttrcCommand
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
744 highlight def link muttrcAttachmentsLine muttrcCommand
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
745 highlight def link muttrcColorKeyword muttrcCommand
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
746 highlight def link muttrcGroupKeyword muttrcCommand
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
747 highlight def link muttrcListsKeyword muttrcCommand
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
748 highlight def link muttrcMono muttrcCommand
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
749 highlight def link muttrcPatHooks muttrcCommand
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
750 highlight def link muttrcRXHooks muttrcCommand
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
751 highlight def link muttrcSubscribeKeyword muttrcCommand
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
752 highlight def link muttrcUnColorKeyword muttrcCommand
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
753
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
754 highlight def link muttrcAliasFormatEscapes muttrcEscape
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
755 highlight def link muttrcAttachFormatEscapes muttrcEscape
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
756 highlight def link muttrcComposeFormatEscapes muttrcEscape
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
757 highlight def link muttrcFolderFormatEscapes muttrcEscape
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
758 highlight def link muttrcGroupIndexFormatEscapes muttrcEscape
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
759 highlight def link muttrcIndexFormatEscapes muttrcEscape
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
760 highlight def link muttrcMixFormatEscapes muttrcEscape
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
761 highlight def link muttrcPGPCmdFormatEscapes muttrcEscape
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
762 highlight def link muttrcPGPFormatEscapes muttrcEscape
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
763 highlight def link muttrcPGPTimeEscapes muttrcEscape
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
764 highlight def link muttrcQueryFormatEscapes muttrcEscape
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
765 highlight def link muttrcShellString muttrcEscape
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
766 highlight def link muttrcSidebarFormatEscapes muttrcEscape
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
767 highlight def link muttrcSmimeFormatEscapes muttrcEscape
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
768 highlight def link muttrcStatusFormatEscapes muttrcEscape
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
769 highlight def link muttrcTimeEscapes muttrcEscape
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
770
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
771 highlight def link muttrcAliasFormatConditionals muttrcFormatConditionals2
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
772 highlight def link muttrcAttachFormatConditionals muttrcFormatConditionals2
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
773 highlight def link muttrcComposeFormatConditionals muttrcFormatConditionals2
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
774 highlight def link muttrcFolderFormatConditionals muttrcFormatConditionals2
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
775 highlight def link muttrcIndexFormatConditionals muttrcFormatConditionals2
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
776 highlight def link muttrcMixFormatConditionals muttrcFormatConditionals2
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
777 highlight def link muttrcPGPCmdFormatConditionals muttrcFormatConditionals2
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
778 highlight def link muttrcPGPFormatConditionals muttrcFormatConditionals2
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
779 highlight def link muttrcSmimeFormatConditionals muttrcFormatConditionals2
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
780 highlight def link muttrcStatusFormatConditionals muttrcFormatConditionals2
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
781
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
782 highlight def link muttrcAddrDef muttrcGroupFlag
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
783 highlight def link muttrcRXDef muttrcGroupFlag
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
784
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
785 highlight def link muttrcAliasFormatStr muttrcString
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
786 highlight def link muttrcAttachFormatStr muttrcString
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
787 highlight def link muttrcComposeFormatStr muttrcString
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
788 highlight def link muttrcFolderFormatStr muttrcString
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
789 highlight def link muttrcGroupIndexFormatStr muttrcString
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
790 highlight def link muttrcIndexFormatStr muttrcString
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
791 highlight def link muttrcMixFormatStr muttrcString
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
792 highlight def link muttrcPGPCmdFormatStr muttrcString
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
793 highlight def link muttrcPGPFormatStr muttrcString
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
794 highlight def link muttrcQueryFormatStr muttrcString
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
795 highlight def link muttrcSidebarFormatStr muttrcString
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
796 highlight def link muttrcSmimeFormatStr muttrcString
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
797 highlight def link muttrcStatusFormatStr muttrcString
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
798 highlight def link muttrcStrftimeFormatStr muttrcString
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
799
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
800 highlight def link muttrcSetNumAssignment Number
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
801
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
802 highlight def link muttrcEmail Special
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
803 highlight def link muttrcSimplePatMetas Special
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
804 highlight def link muttrcSpecial Special
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
805 highlight def link muttrcVariableInner Special
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
806
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
807 highlight def link muttrcAliasEncEmailNL SpecialChar
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
808 highlight def link muttrcAliasENNL SpecialChar
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
809 highlight def link muttrcAliasGroupDefNL SpecialChar
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
810 highlight def link muttrcAliasNameNL SpecialChar
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
811 highlight def link muttrcAliasNL SpecialChar
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
812 highlight def link muttrcBindFunctionNL SpecialChar
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
813 highlight def link muttrcBindKeyNL SpecialChar
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
814 highlight def link muttrcBindMenuListNL SpecialChar
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
815 highlight def link muttrcColorBGNL SpecialChar
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
816 highlight def link muttrcColorFGNL SpecialChar
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
817 highlight def link muttrcColorMatchCountNL SpecialChar
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
818 highlight def link muttrcColorNL SpecialChar
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
819 highlight def link muttrcColorRXNL SpecialChar
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
820 highlight def link muttrcEscape SpecialChar
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
821 highlight def link muttrcKeyName SpecialChar
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
822 highlight def link muttrcKeySpecial SpecialChar
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
823 highlight def link muttrcMacroBodyNL SpecialChar
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
824 highlight def link muttrcMacroDescrNL SpecialChar
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
825 highlight def link muttrcMacroKeyNL SpecialChar
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
826 highlight def link muttrcMacroMenuListNL SpecialChar
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
827 highlight def link muttrcPatternNL SpecialChar
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
828 highlight def link muttrcRXChars SpecialChar
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
829 highlight def link muttrcStringNL SpecialChar
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
830 highlight def link muttrcUnAliasNL SpecialChar
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
831 highlight def link muttrcUnColorAPNL SpecialChar
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
832 highlight def link muttrcUnColorIndexNL SpecialChar
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
833 highlight def link muttrcUnColorPatNL SpecialChar
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
834
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
835 highlight def link muttrcAttachmentsMimeType String
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
836 highlight def link muttrcEscapedVariable String
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
837 highlight def link muttrcMacroDescr String
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
838 highlight def link muttrcRXPat String
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
839 highlight def link muttrcRXString String
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
840 highlight def link muttrcRXString2 String
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
841 highlight def link muttrcSetStrAssignment String
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
842 highlight def link muttrcString String
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
843
21093
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
844 highlight def link muttrcAliasParens Type
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
845 highlight def link muttrcAttachmentsFlag Type
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
846 highlight def link muttrcColor Type
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
847 highlight def link muttrcFormatConditionals2 Type
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
848 highlight def link muttrcGroupFlag Type
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
849 highlight def link muttrcHeader Type
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
850 highlight def link muttrcHooks Type
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
851 highlight def link muttrcKey Type
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
852 highlight def link muttrcPatHookNot Type
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
853 highlight def link muttrcRXHookNot Type
99a602b27e0e Runtime file updates
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
854 highlight def link muttrcStrftimeEscapes Type
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
855
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
856 let b:current_syntax = "neomuttrc"
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
857
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
858 let &cpo = s:cpo_save
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
859 unlet s:cpo_save
13735
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
860
a62eeee5f116 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
861 " vim: ts=8 noet tw=100 sw=8 sts=0 ft=vim isk+=-