File neomutt.vim-20241013.obscpio of Package vim-plugins
07070100000000000081A4000000000000000000000001670B97B500004601000000000000000000000000000000000000002000000000neomutt.vim-20241013/LICENSE.mdGNU General Public License
==========================
_Version 2, June 1991_
_Copyright © 1989, 1991 Free Software Foundation, Inc.,_
_51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA_
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
### Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: **(1)** copyright the software, and
**(2)** offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
### TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
**0.** This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The “Program”, below,
refers to any such program or work, and a “work based on the Program”
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term “modification”.) Each licensee is addressed as “you”.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
**1.** You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
**2.** You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
* **a)** You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
* **b)** You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
* **c)** If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
**3.** You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
* **a)** Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
* **b)** Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
* **c)** Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
**4.** You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
**5.** You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
**6.** Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
**7.** If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
**8.** If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
**9.** The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and “any
later version”, you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
**10.** If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
### NO WARRANTY
**11.** BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
**12.** IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
### How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the “copyright” line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w` and `show c` should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w` and `show c`; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a “copyright disclaimer” for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
07070100000001000081A4000000000000000000000001670B97B50000012D000000000000000000000000000000000000001F00000000neomutt.vim-20241013/README.md# neomutt.vim
## Description
This plugin provides syntax for the neomutt configuration file. In addition,
it sets the mail filetype to temporary mail files created by neomutt when
writing or editing emails.
## Related Projects
- [tree-sitter-muttrc](https://github.com/neomutt/tree-sitter-muttrc)
07070100000002000041ED000000000000000000000002670B97B500000000000000000000000000000000000000000000001900000000neomutt.vim-20241013/doc07070100000003000081A4000000000000000000000001670B97B5000002F1000000000000000000000000000000000000002500000000neomutt.vim-20241013/doc/neomutt.txt*ft_neomuttrc.txt* Filetype plugin for Neomutt
==============================================================================
CONTENTS *neomutt* *neomuttrc*
1. Introduction |neomutt-intro|
==============================================================================
INTRODUCTION *neomutt-intro*
This plugin provides syntax for the neomutt configuration file.
In addition, it sets the mail filetype to temporary mail files created by
neomutt when writing or editing emails.
==============================================================================
vim:tw=78:sw=4:noet:ts=8:ft=help:norl:
07070100000004000041ED000000000000000000000002670B97B500000000000000000000000000000000000000000000001E00000000neomutt.vim-20241013/ftdetect07070100000005000081A4000000000000000000000001670B97B500000109000000000000000000000000000000000000002A00000000neomutt.vim-20241013/ftdetect/logfile.vim" Auto-detect a NeoMutt log file
autocmd BufRead * call <SID>neomutt_log()
function! s:neomutt_log()
let match = '\v^\[\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d\] NeoMutt'
let line = getline (1)
if (line !~ match)
return
endif
setfiletype neomuttlog
endfunction
07070100000006000081A4000000000000000000000001670B97B500000052000000000000000000000000000000000000002700000000neomutt.vim-20241013/ftdetect/mail.vimau BufNewFile,BufRead neomutt-*-\w\+,neomutt[[:alnum:]_-]\\\{6\} setfiletype mail
07070100000007000081A4000000000000000000000001670B97B500000079000000000000000000000000000000000000002C00000000neomutt.vim-20241013/ftdetect/neomuttrc.vimau BufNewFile,BufRead [Nn]eomuttrc,.neomuttrc,*.neomuttrc,.neomutt/*muttrc,.config/neomutt/*muttrc setfiletype neomuttrc
07070100000008000041ED000000000000000000000002670B97B500000000000000000000000000000000000000000000001E00000000neomutt.vim-20241013/ftplugin07070100000009000081A4000000000000000000000001670B97B500000214000000000000000000000000000000000000002C00000000neomutt.vim-20241013/ftplugin/neomuttrc.vim" Vim filetype plugin file
" Language: NeoMutt RC File
" Previous Maintainer: Guillaume Brogi <gui-gui@netcourrier.com>
" Latest Revision: 2017-09-17
" Original version copied from ftplugin/muttrc.vim
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
let s:cpo_save = &cpo
set cpo&vim
let b:undo_ftplugin = "setl com< cms< inc< fo<"
setlocal comments=:# commentstring=#\ %s
setlocal formatoptions-=t formatoptions+=croql
let &l:include = '^\s*source\>'
let &cpo = s:cpo_save
unlet s:cpo_save
0707010000000A000041ED000000000000000000000002670B97B500000000000000000000000000000000000000000000001C00000000neomutt.vim-20241013/syntax0707010000000B000081A4000000000000000000000001670B97B500000D9A000000000000000000000000000000000000002B00000000neomutt.vim-20241013/syntax/neomuttlog.vim" Vim syntax file
" Language: NeoMutt log files
" Maintainer: Richard Russon <rich@flatcap.org>
" Last Change: 2024 Oct 12
" quit when a syntax file was already loaded
if exists("b:current_syntax")
finish
endif
syntax match neolog_date "\v^\[\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d\] *" conceal
syntax match neolog_version "\v<NeoMutt-\d{8}(-\d+-\x+)*(-dirty)*>"
syntax match neolog_banner "\v^\[\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d\] .*" contains=neolog_date,neolog_version
syntax match neolog_function "\v%26v\i+\(\)"
syntax match neolog_perror_key "\v%22v\<P\> " conceal transparent
syntax match neolog_error_key "\v%22v\<E\> " conceal transparent
syntax match neolog_warning_key "\v%22v\<W\> " conceal transparent
syntax match neolog_message_key "\v%22v\<M\> " conceal transparent
syntax match neolog_debug1_key "\v%22v\<1\> " conceal transparent
syntax match neolog_debug2_key "\v%22v\<2\> " conceal transparent
syntax match neolog_debug3_key "\v%22v\<3\> " conceal transparent
syntax match neolog_debug4_key "\v%22v\<4\> " conceal transparent
syntax match neolog_debug5_key "\v%22v\<5\> " conceal transparent
syntax match neolog_notify_key "\v%22v\<N\> " conceal transparent
syntax match neolog_perror "\v%22v\<P\> .*" contains=neolog_perror_key,neolog_function
syntax match neolog_error "\v%22v\<E\> .*" contains=neolog_error_key,neolog_function
syntax match neolog_warning "\v%22v\<W\> .*" contains=neolog_warning_key,neolog_function
syntax match neolog_message "\v%22v\<M\> .*" contains=neolog_message_key,neolog_function
syntax match neolog_debug1 "\v%22v\<1\> .*" contains=neolog_debug1_key,neolog_function
syntax match neolog_debug2 "\v%22v\<2\> .*" contains=neolog_debug2_key,neolog_function
syntax match neolog_debug3 "\v%22v\<3\> .*" contains=neolog_debug3_key,neolog_function
syntax match neolog_debug4 "\v%22v\<4\> .*" contains=neolog_debug4_key,neolog_function
syntax match neolog_debug5 "\v%22v\<5\> .*" contains=neolog_debug5_key,neolog_function
syntax match neolog_notify "\v%22v\<N\> .*" contains=neolog_notify_key,neolog_function
if !exists('g:neolog_disable_default_colors')
highlight neolog_date ctermfg=cyan guifg=#40ffff
highlight neolog_banner ctermfg=magenta guifg=#ff00ff
highlight neolog_version cterm=reverse gui=reverse
highlight neolog_function guibg=#282828
highlight neolog_perror ctermfg=red guifg=#ff8080
highlight neolog_error ctermfg=red guifg=#ff8080
highlight neolog_warning ctermfg=yellow guifg=#ffff80
highlight neolog_message ctermfg=green guifg=#80ff80
highlight neolog_debug1 ctermfg=white guifg=#ffffff
highlight neolog_debug2 ctermfg=white guifg=#ffffff
highlight neolog_debug3 ctermfg=grey guifg=#c0c0c0
highlight neolog_debug4 ctermfg=grey guifg=#c0c0c0
highlight neolog_debug5 ctermfg=grey guifg=#c0c0c0
highlight neolog_notify ctermfg=grey guifg=#c0c0c0
endif
highlight link neolog_perror_key neolog_perror
highlight link neolog_error_key neolog_error
highlight link neolog_warning_key neolog_warning
highlight link neolog_message_key neolog_message
highlight link neolog_debug1_key neolog_debug1
highlight link neolog_debug2_key neolog_debug2
highlight link neolog_debug3_key neolog_debug3
highlight link neolog_debug4_key neolog_debug4
highlight link neolog_debug5_key neolog_debug5
highlight link neolog_notify_key neolog_notify
let b:current_syntax = "neomuttlog"
" vim: ts=2 et tw=100 sw=2 sts=0 ft=vim
0707010000000C000081A4000000000000000000000001670B97B500011A89000000000000000000000000000000000000002A00000000neomutt.vim-20241013/syntax/neomuttrc.vim" Vim syntax file
" Language: NeoMutt setup files
" Maintainer: Richard Russon <rich@flatcap.org>
" Previous Maintainer: Guillaume Brogi <gui-gui@netcourrier.com>
" Last Change: 2024 Oct 12
" Original version based on syntax/muttrc.vim
" This file covers NeoMutt 2024-10-02
" quit when a syntax file was already loaded
if exists("b:current_syntax")
finish
endif
let s:cpo_save = &cpo
set cpo&vim
" Set the keyword characters
setlocal isk=@,48-57,_,-
" handling optional variables
syntax match muttrcComment "^# .*$" contains=@Spell
syntax match muttrcComment "^#[^ ].*$"
syntax match muttrcComment "^#$"
syntax match muttrcComment "[^\\]#.*$"lc=1 contains=@Spell
" Escape sequences (back-tick and pipe goes here too)
syntax match muttrcEscape +\\[#tnr"'Cc ]+
syntax match muttrcEscape +[`|]+
syntax match muttrcEscape +\\$+
" The variables takes the following arguments
syntax region muttrcString contained keepend start=+"+ms=e skip=+\\"+ end=+"+ contains=muttrcEscape,muttrcCommand,muttrcAction,muttrcShellString
syntax region muttrcString contained keepend start=+'+ms=e skip=+\\'+ end=+'+ contains=muttrcEscape,muttrcCommand,muttrcAction
syntax match muttrcStringNL contained skipwhite skipnl "\s*\\$" nextgroup=muttrcString,muttrcStringNL
syntax region muttrcShellString matchgroup=muttrcEscape keepend start=+`+ skip=+\\`+ end=+`+ contains=muttrcVarString,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcCommand
syntax match muttrcRXChars contained /[^\\][][.*?+]\+/hs=s+1
syntax match muttrcRXChars contained /[][|()][.*?+]*/
syntax match muttrcRXChars contained /['"]^/ms=s+1
syntax match muttrcRXChars contained /$['"]/me=e-1
syntax match muttrcRXChars contained /\\/
" Why does muttrcRXString2 work with one \ when muttrcRXString requires two?
syntax region muttrcRXString contained skipwhite start=+'+ skip=+\\'+ end=+'+ contains=muttrcRXChars
syntax region muttrcRXString contained skipwhite start=+"+ skip=+\\"+ end=+"+ contains=muttrcRXChars
syntax region muttrcRXString contained skipwhite start=+[^ "'^]+ skip=+\\\s+ end=+\s+re=e-1 contains=muttrcRXChars
" For some reason, skip refuses to match backslashes here...
syntax region muttrcRXString contained matchgroup=muttrcRXChars skipwhite start=+\^+ end=+[^\\]\s+re=e-1 contains=muttrcRXChars
syntax region muttrcRXString contained matchgroup=muttrcRXChars skipwhite start=+\^+ end=+$\s+ contains=muttrcRXChars
syntax region muttrcRXString2 contained skipwhite start=+'+ skip=+\'+ end=+'+ contains=muttrcRXChars
syntax region muttrcRXString2 contained skipwhite start=+"+ skip=+\"+ end=+"+ contains=muttrcRXChars
" these must be kept synchronized with muttrcRXString, but are intended for muttrcRXHooks
syntax region muttrcRXHookString contained keepend skipwhite start=+'+ skip=+\\'+ end=+'+ contains=muttrcRXString nextgroup=muttrcString,muttrcStringNL
syntax region muttrcRXHookString contained keepend skipwhite start=+"+ skip=+\\"+ end=+"+ contains=muttrcRXString nextgroup=muttrcString,muttrcStringNL
syntax region muttrcRXHookString contained keepend skipwhite start=+[^ "'^]+ skip=+\\\s+ end=+\s+re=e-1 contains=muttrcRXString nextgroup=muttrcString,muttrcStringNL
syntax region muttrcRXHookString contained keepend skipwhite start=+\^+ end=+[^\\]\s+re=e-1 contains=muttrcRXString nextgroup=muttrcString,muttrcStringNL
syntax region muttrcRXHookString contained keepend matchgroup=muttrcRXChars skipwhite start=+\^+ end=+$\s+ contains=muttrcRXString nextgroup=muttrcString,muttrcStringNL
syntax match muttrcRXHookStringNL contained skipwhite skipnl "\s*\\$" nextgroup=muttrcRXHookString,muttrcRXHookStringNL
" these are exclusively for args lists (e.g. -rx pat pat pat ...)
syntax region muttrcRXPat contained keepend skipwhite start=+'+ skip=+\\'+ end=+'\s*+ contains=muttrcRXString nextgroup=muttrcRXPat
syntax region muttrcRXPat contained keepend skipwhite start=+"+ skip=+\\"+ end=+"\s*+ contains=muttrcRXString nextgroup=muttrcRXPat
syntax match muttrcRXPat contained /[^-'"#!]\S\+/ skipwhite contains=muttrcRXChars nextgroup=muttrcRXPat
syntax match muttrcRXDef contained "-rx\s\+" skipwhite nextgroup=muttrcRXPat
syntax match muttrcSpecial +\(['"]\)!\1+
syntax match muttrcSetStrAssignment contained skipwhite /=\s*\%(\\\?\$\)\?[0-9A-Za-z_-]\+/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString contains=muttrcVariable,muttrcEscapedVariable
syntax region muttrcSetStrAssignment contained skipwhite keepend start=+=\s*"+hs=s+1 end=+"+ skip=+\\"+ nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString contains=muttrcString
syntax region muttrcSetStrAssignment contained skipwhite keepend start=+=\s*'+hs=s+1 end=+'+ skip=+\\'+ nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString contains=muttrcString
syntax match muttrcSetBoolAssignment contained skipwhite /=\s*\\\?\$\w\+/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString contains=muttrcVariable,muttrcEscapedVariable
syntax match muttrcSetBoolAssignment contained skipwhite /=\s*\%(yes\|no\)/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax match muttrcSetBoolAssignment contained skipwhite /=\s*"\%(yes\|no\)"/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax match muttrcSetBoolAssignment contained skipwhite /=\s*'\%(yes\|no\)'/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax match muttrcSetQuadAssignment contained skipwhite /=\s*\\\?\$\w\+/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString contains=muttrcVariable,muttrcEscapedVariable
syntax match muttrcSetQuadAssignment contained skipwhite /=\s*\%(ask-\)\?\%(yes\|no\)/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax match muttrcSetQuadAssignment contained skipwhite /=\s*"\%(ask-\)\?\%(yes\|no\)"/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax match muttrcSetQuadAssignment contained skipwhite /=\s*'\%(ask-\)\?\%(yes\|no\)'/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax match muttrcSetNumAssignment contained skipwhite /=\s*\\\?\$\w\+/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString contains=muttrcVariable,muttrcEscapedVariable
syntax match muttrcSetNumAssignment contained skipwhite /=\s*\d\+/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax match muttrcSetNumAssignment contained skipwhite /=\s*"\d\+"/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax match muttrcSetNumAssignment contained skipwhite /=\s*'\d\+'/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
" Now catch some email addresses and headers (purified version from mail.vim)
syntax match muttrcEmail "[a-zA-Z0-9._-]\+@[a-zA-Z0-9./-]\+"
syntax match muttrcHeader "\<\c\%(From\|To\|C[Cc]\|B[Cc][Cc]\|Reply-To\|Subject\|Return-Path\|Received\|Date\|Replied\|Attach\)\>:\="
syntax match muttrcKeySpecial contained +\%(\\[Cc'"]\|\^\|\\[01]\d\{2}\)+
syntax match muttrcKey contained "\S\+" contains=muttrcKeySpecial,muttrcKeyName
syntax region muttrcKey contained start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=muttrcKeySpecial,muttrcKeyName
syntax region muttrcKey contained start=+'+ skip=+\\\\\|\\'+ end=+'+ contains=muttrcKeySpecial,muttrcKeyName
syntax match muttrcKeyName contained "\\[trne]"
syntax match muttrcKeyName contained "\c<\%(BackSpace\|BackTab\|Delete\|Down\|End\|Enter\|Esc\|Home\|Insert\|Left\|Next\|PageDown\|PageUp\|Return\|Right\|Space\|Tab\|Up\)>"
syntax match muttrcKeyName contained "\c<F\d\+>"
syntax match muttrcFormatErrors contained /%./
syntax match muttrcStrftimeEscapes contained /%[AaBbCcDdeFGgHhIjklMmnpRrSsTtUuVvWwXxYyZz+%]/
syntax match muttrcStrftimeEscapes contained /%E[cCxXyY]/
syntax match muttrcStrftimeEscapes contained /%O[BdeHImMSuUVwWy]/
" Defines syntax matches for muttrc[baseName]Escapes, muttrc[baseName]Conditionals
" If padding==1, also match `%>` `%|` `%*` expandos
" If conditional==1, some expandos support %X? format
syntax match muttrcFormatConditionals2 contained /[^?]*?/
function! s:escapesConditionals(baseName, sequence, padding, conditional)
exec 'syntax match muttrc' . a:baseName . 'Escapes contained /%\%(\%(-\?[0-9]\+\)\?\%(\.[0-9]\+\)\?\)\?[:_]\?\%(' . a:sequence . '\|%\)/'
if a:padding
exec 'syntax match muttrc' . a:baseName . 'Escapes contained /%[>|*]./'
endif
if a:conditional
exec 'syntax match muttrc' . a:baseName . 'Conditionals contained /%?\%(' . a:sequence . '\)?/ nextgroup=muttrcFormatConditionals2'
else
exec 'syntax match muttrc' . a:baseName . 'Conditionals contained /%?\%(' . a:sequence . '\)?/'
endif
endfunction
" CHECKED 2024 Oct 12
" Ref: AliasFormatDef in alias/config.c
call s:escapesConditionals('AliasFormat', '[acfnrtY]', 1, 0)
" Ref: AttachFormatDef in mutt_config.c
call s:escapesConditionals('AttachFormat', '[CcDdeFfIMmnQsTtuX]', 1, 1)
" Ref: AutocryptFormatDef in autocrypt/config.c
call s:escapesConditionals('AutocryptFormat', '[aknps]', 1, 0)
" Ref: ComposeFormatDef in compose/config.c
call s:escapesConditionals('ComposeFormat', '[ahlv]', 1, 1)
" Ref: FolderFormatDef in browser/config.c
call s:escapesConditionals('FolderFormat', '[aCDdFfgilmNnpstu[]', 1, 1)
" Ref: GreetingFormatDef in send/config.c
call s:escapesConditionals('GreetingFormat', '[nuv]', 0, 0)
" Ref: GroupIndexFormatDef in browser/config.c
call s:escapesConditionals('GroupIndexFormat', '[aCdfMNnps]', 1, 0)
" Ref: HistoryFormatDef in history/config.c
call s:escapesConditionals('HistoryFormat', '[Cs]', 1, 0)
" Ref: IndexFormatDef in mutt_config.c
call s:escapesConditionals('IndexFormat', '[AaBbCDdEefgHIiJKLlMmNnOPqRrSsTtuvWXxYyZ(<[{]\|@\i\+@\|G[a-zA-Z]\+\|Fp\=\|z[cst]\|cr\=', 1, 1)
" Ref: PatternFormatDef in pattern/config.c
call s:escapesConditionals('PatternFormat', '[den]', 1, 0)
" Ref: PgpCommandFormatDef in ncrypt/config.c
call s:escapesConditionals('PgpCommandFormat', '[afprs]', 0, 1)
" Ref: PgpEntryFormatDef in ncrypt/config.c
call s:escapesConditionals('PgpEntryFormat', '[AaCcFfIiKkLlnptu[]', 1, 1)
" Ref: QueryFormatDef in alias/config.c
call s:escapesConditionals('QueryFormat', '[acentY]', 1, 1)
" Ref: SidebarFormatDef in sidebar/config.c
call s:escapesConditionals('SidebarFormat', '[!aBDdFLNnoprStZ]', 1, 1)
" Ref: SmimeCommandFormatDef in ncrypt/config.c
call s:escapesConditionals('SmimeCommandFormat', '[aCcdfiks]', 0, 1)
" Ref: StatusFormatDef in mutt_config.c
call s:escapesConditionals('StatusFormat', '[bDdFfhLlMmnoPpRrSsTtuVv]', 1, 1)
syntax region muttrcAliasFormatString contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcAliasFormatEscapes,muttrcAliasFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcAliasFormatString contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcAliasFormatEscapes,muttrcAliasFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcAttachFormatString contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcAttachFormatEscapes,muttrcAttachFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcAttachFormatString contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcAttachFormatEscapes,muttrcAttachFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcAutocryptFormatString contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcAutocryptFormatEscapes,muttrcAutocryptFormatConditionals,muttrcFormatErrors,muttrcTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcAutocryptFormatString contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcAutocryptFormatEscapes,muttrcAutocryptFormatConditionals,muttrcFormatErrors,muttrcTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcComposeFormatString contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcComposeFormatEscapes,muttrcComposeFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcComposeFormatString contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcComposeFormatEscapes,muttrcComposeFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcFolderFormatString contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcFolderFormatEscapes,muttrcFolderFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcFolderFormatString contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcFolderFormatEscapes,muttrcFolderFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcGreetingFormatString contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcGreetingFormatEscapes,muttrcGreetingFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcGreetingFormatString contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcGreetingFormatEscapes,muttrcGreetingFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcGroupIndexFormatString contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcGroupIndexFormatEscapes,muttrcGroupIndexFormatConditionals,muttrcFormatErrors,muttrcTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcGroupIndexFormatString contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcGroupIndexFormatEscapes,muttrcGroupIndexFormatConditionals,muttrcFormatErrors,muttrcTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcHistoryFormatString contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcHistoryFormatEscapes,muttrcHistoryFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcHistoryFormatString contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcHistoryFormatEscapes,muttrcHistoryFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcIndexFormatString contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcIndexFormatEscapes,muttrcIndexFormatConditionals,muttrcFormatErrors,muttrcTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcIndexFormatString contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcIndexFormatEscapes,muttrcIndexFormatConditionals,muttrcFormatErrors,muttrcTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcPatternFormatString contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcPatternFormatEscapes,muttrcPatternFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcPatternFormatString contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcPatternFormatEscapes,muttrcPatternFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcPgpCommandFormatString contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcPgpCommandFormatEscapes,muttrcPgpCommandFormatConditionals,muttrcVariable,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcPgpCommandFormatString contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcPgpCommandFormatEscapes,muttrcPgpCommandFormatConditionals,muttrcVariable,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcPgpEntryFormatString contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcPgpEntryFormatEscapes,muttrcPgpEntryFormatConditionals,muttrcFormatErrors,muttrcPgpTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcPgpEntryFormatString contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcPgpEntryFormatEscapes,muttrcPgpEntryFormatConditionals,muttrcFormatErrors,muttrcPgpTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcQueryFormatString contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcQueryFormatEscapes,muttrcQueryFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcQueryFormatString contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcQueryFormatEscapes,muttrcQueryFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcSidebarFormatString contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcSidebarFormatEscapes,muttrcSidebarFormatConditionals,muttrcFormatErrors,muttrcTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcSidebarFormatString contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcSidebarFormatEscapes,muttrcSidebarFormatConditionals,muttrcFormatErrors,muttrcTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcSmimeCommandFormatString contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcSmimeCommandFormatEscapes,muttrcSmimeCommandFormatConditionals,muttrcVariable,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcSmimeCommandFormatString contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcSmimeCommandFormatEscapes,muttrcSmimeCommandFormatConditionals,muttrcVariable,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcStatusFormatString contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcStatusFormatEscapes,muttrcStatusFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcStatusFormatString contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcStatusFormatEscapes,muttrcStatusFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcStrftimeFormatString contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcStrftimeEscapes,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax region muttrcStrftimeFormatString contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcStrftimeEscapes,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
" Format escapes and conditionals
syntax match muttrcFormatConditionals2 contained /[^?]*?/
syntax region muttrcPgpTimeEscapes contained start=+%\[+ end=+\]+ contains=muttrcStrftimeEscapes
syntax region muttrcTimeEscapes contained start=+%(+ end=+)+ contains=muttrcStrftimeEscapes
syntax region muttrcTimeEscapes contained start=+%<+ end=+>+ contains=muttrcStrftimeEscapes
syntax region muttrcTimeEscapes contained start=+%\[+ end=+\]+ contains=muttrcStrftimeEscapes
syntax region muttrcTimeEscapes contained start=+%{+ end=+}+ contains=muttrcStrftimeEscapes
syntax match muttrcVarEqualsAliasFormat contained skipwhite "=" nextgroup=muttrcAliasFormatString
syntax match muttrcVarEqualsAttachFormat contained skipwhite "=" nextgroup=muttrcAttachFormatString
syntax match muttrcVarEqualsAutocryptFormat contained skipwhite "=" nextgroup=muttrcAutocryptFormatString
syntax match muttrcVarEqualsComposeFormat contained skipwhite "=" nextgroup=muttrcComposeFormatString
syntax match muttrcVarEqualsFolderFormat contained skipwhite "=" nextgroup=muttrcFolderFormatString
syntax match muttrcVarEqualsGreetingFormat contained skipwhite "=" nextgroup=muttrcGreetingFormatString
syntax match muttrcVarEqualsGroupIndexFormat contained skipwhite "=" nextgroup=muttrcGroupIndexFormatString
syntax match muttrcVarEqualsHistoryFormat contained skipwhite "=" nextgroup=muttrcHistoryFormatString
syntax match muttrcVarEqualsIndexFormat contained skipwhite "=" nextgroup=muttrcIndexFormatString
syntax match muttrcVarEqualsPatternFormat contained skipwhite "=" nextgroup=muttrcPatternFormatString
syntax match muttrcVarEqualsPgpCommandFormat contained skipwhite "=" nextgroup=muttrcPgpCommandFormatString
syntax match muttrcVarEqualsPgpEntryFormat contained skipwhite "=" nextgroup=muttrcPgpEntryFormatString
syntax match muttrcVarEqualsQueryFormat contained skipwhite "=" nextgroup=muttrcQueryFormatString
syntax match muttrcVarEqualsSidebarFormat contained skipwhite "=" nextgroup=muttrcSidebarFormatString
syntax match muttrcVarEqualsSmimeCommandFormat contained skipwhite "=" nextgroup=muttrcSmimeCommandFormatString
syntax match muttrcVarEqualsStatusFormat contained skipwhite "=" nextgroup=muttrcStatusFormatString
syntax match muttrcVarEqualsStrftimeFormat contained skipwhite "=" nextgroup=muttrcStrftimeFormatString
syntax match muttrcVPrefix contained /[?&]/ nextgroup=muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
" CHECKED 2024 Oct 12
" List of the different screens in NeoMutt (see MenuNames in menu/type.c)
syntax keyword muttrcMenu contained alias attach autocrypt browser compose dialog editor generic index key_select_pgp key_select_smime pager pgp postpone query smime
syntax match muttrcMenuList "\S\+" contained contains=muttrcMenu
syntax match muttrcMenuCommas /,/ contained
syntax region muttrcSpamPattern contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcPattern nextgroup=muttrcString,muttrcStringNL
syntax region muttrcSpamPattern contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcPattern nextgroup=muttrcString,muttrcStringNL
syntax region muttrcNoSpamPattern contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcPattern
syntax region muttrcNoSpamPattern contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcPattern
syntax match muttrcAttachmentsMimeType contained "[*a-z0-9_-]\+/[*a-z0-9._-]\+\s*" skipwhite nextgroup=muttrcAttachmentsMimeType
syntax match muttrcAttachmentsFlag contained "[+-]\%([AI]\|inline\|attachment\)\s\+" skipwhite nextgroup=muttrcAttachmentsMimeType
syntax match muttrcAttachmentsLine "^\s*\%(un\)\?attachments\s\+" skipwhite nextgroup=muttrcAttachmentsFlag
syntax match muttrcUnHighlightSpace contained "\%(\s\+\|\\$\)"
syntax keyword muttrcAsterisk contained *
syntax keyword muttrcListsKeyword lists skipwhite nextgroup=muttrcGroupDef,muttrcComment
syntax keyword muttrcListsKeyword unlists skipwhite nextgroup=muttrcAsterisk,muttrcComment
syntax keyword muttrcSubscribeKeyword subscribe skipwhite nextgroup=muttrcGroupDef,muttrcComment
syntax keyword muttrcSubscribeKeyword unsubscribe skipwhite nextgroup=muttrcAsterisk,muttrcComment
syntax keyword muttrcAlternateKeyword contained alternates unalternates
syntax region muttrcAlternatesLine keepend start=+^\s*\%(un\)\?alternates\s+ skip=+\\$+ end=+$+ contains=muttrcAlternateKeyword,muttrcGroupDef,muttrcRXPat,muttrcUnHighlightSpace,muttrcComment
" muttrcVariable includes a prefix because partial strings are considered valid.
syntax match muttrcVariable contained "\\\@<![a-zA-Z_-]*\$[a-zA-Z_-]\+" contains=muttrcVariableInner
syntax match muttrcVariableInner contained "\$[a-zA-Z_-]\+"
syntax match muttrcEscapedVariable contained "\\\$[a-zA-Z_-]\+"
syntax match muttrcBadAction contained "[^<>]\+" contains=muttrcEmail
syntax match muttrcAction contained "<[^>]\{-}>" contains=muttrcBadAction,muttrcFunction,muttrcKeyName
" CHECKED 2024 Oct 12
" First, hooks that take regular expressions:
syntax match muttrcRXHookNot contained /!\s*/ skipwhite nextgroup=muttrcRXHookString,muttrcRXHookStringNL
syntax match muttrcRXHookNoRegex contained /-noregex/ skipwhite nextgroup=muttrcRXHookString,muttrcRXHookStringNL
syntax match muttrcRXHooks /\<\%(account\|append\|close\|crypt\|open\|pgp\|shutdown\|startup\|timeout\)-hook\>/ skipwhite nextgroup=muttrcRXHookNot,muttrcRXHookString,muttrcRXHookStringNL
syntax match muttrcRXHooks /\<\%(folder\|mbox\)-hook\>/ skipwhite nextgroup=muttrcRXHookNoRegex,muttrcRXHookNot,muttrcRXHookString,muttrcRXHookStringNL
" Now, hooks that take patterns
syntax match muttrcPatHookNot contained /!\s*/ skipwhite nextgroup=muttrcPattern
syntax match muttrcPatHooks /\<\%(charset\|iconv\|index-format\)-hook\>/ skipwhite nextgroup=muttrcPatHookNot,muttrcPattern
syntax match muttrcPatHooks /\<\%(message\|reply\|send\|send2\|save\|fcc\|fcc-save\)-hook\>/ skipwhite nextgroup=muttrcPatHookNot,muttrcOptPattern
" Global hooks that take a command
syntax keyword muttrcHooks skipwhite shutdown-hook startup-hook timeout-hook nextgroup=muttrcCommand
syntax match muttrcBindFunction contained /\S\+\>/ skipwhite contains=muttrcFunction
syntax match muttrcBindFunctionNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcBindFunction,muttrcBindFunctionNL
syntax match muttrcBindKey contained /\S\+/ skipwhite contains=muttrcKey nextgroup=muttrcBindFunction,muttrcBindFunctionNL
syntax match muttrcBindKeyNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcBindKey,muttrcBindKeyNL
syntax match muttrcBindMenuList contained /\S\+/ skipwhite contains=muttrcMenu,muttrcMenuCommas nextgroup=muttrcBindKey,muttrcBindKeyNL
syntax match muttrcBindMenuListNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcBindMenuList,muttrcBindMenuListNL
syntax region muttrcMacroDescr contained keepend skipwhite start=+\s*\S+ms=e skip=+\\ + end=+ \|$+me=s
syntax region muttrcMacroDescr contained keepend skipwhite start=+'+ms=e skip=+\\'+ end=+'+me=s
syntax region muttrcMacroDescr contained keepend skipwhite start=+"+ms=e skip=+\\"+ end=+"+me=s
syntax match muttrcMacroDescrNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcMacroDescr,muttrcMacroDescrNL
syntax region muttrcMacroBody contained skipwhite start="\S" skip='\\ \|\\$' end=' \|$' contains=muttrcEscape,muttrcSet,muttrcUnset,muttrcReset,muttrcToggle,muttrcCommand,muttrcAction nextgroup=muttrcMacroDescr,muttrcMacroDescrNL
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
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
syntax match muttrcMacroBodyNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcMacroBody,muttrcMacroBodyNL
syntax match muttrcMacroKey contained /\S\+/ skipwhite contains=muttrcKey nextgroup=muttrcMacroBody,muttrcMacroBodyNL
syntax match muttrcMacroKeyNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcMacroKey,muttrcMacroKeyNL
syntax match muttrcMacroMenuList contained /\S\+/ skipwhite contains=muttrcMenu,muttrcMenuCommas nextgroup=muttrcMacroKey,muttrcMacroKeyNL
syntax match muttrcMacroMenuListNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcMacroMenuList,muttrcMacroMenuListNL
syntax match muttrcAddrContent contained "[a-zA-Z0-9._-]\+@[a-zA-Z0-9./-]\+\s*" skipwhite contains=muttrcEmail nextgroup=muttrcAddrContent
syntax region muttrcAddrContent contained start=+'+ end=+'\s*+ skip=+\\'+ skipwhite contains=muttrcEmail nextgroup=muttrcAddrContent
syntax region muttrcAddrContent contained start=+"+ end=+"\s*+ skip=+\\"+ skipwhite contains=muttrcEmail nextgroup=muttrcAddrContent
syntax match muttrcAddrDef contained "-addr\s\+" skipwhite nextgroup=muttrcAddrContent
syntax match muttrcGroupFlag contained "-group"
syntax region muttrcGroupDef contained start="-group\s\+" skip="\\$" end="\s" skipwhite keepend contains=muttrcGroupFlag,muttrcUnHighlightSpace
syntax keyword muttrcGroupKeyword contained group ungroup
syntax region muttrcGroupLine keepend start=+^\s*\%(un\)\?group\s+ skip=+\\$+ end=+$+ contains=muttrcGroupKeyword,muttrcGroupDef,muttrcAddrDef,muttrcRXDef,muttrcUnHighlightSpace,muttrcComment
syntax match muttrcAliasGroupName contained /\w\+/ skipwhite nextgroup=muttrcAliasGroupDef,muttrcAliasKey,muttrcAliasNL
syntax match muttrcAliasGroupDefNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcAliasGroupName,muttrcAliasGroupDefNL
syntax match muttrcAliasGroupDef contained /\s*-group/ skipwhite nextgroup=muttrcAliasGroupName,muttrcAliasGroupDefNL contains=muttrcGroupFlag
syntax match muttrcAliasComma contained /,/ skipwhite nextgroup=muttrcAliasEmail,muttrcAliasEncEmail,muttrcAliasNameNoParens,muttrcAliasENNL
syntax match muttrcAliasEmail contained /\S\+@\S\+/ contains=muttrcEmail nextgroup=muttrcAliasName,muttrcAliasNameNL skipwhite
syntax match muttrcAliasEncEmail contained /<[^>]\+>/ contains=muttrcEmail nextgroup=muttrcAliasComma
syntax match muttrcAliasEncEmailNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcAliasEncEmail,muttrcAliasEncEmailNL
syntax match muttrcAliasNameNoParens contained /[^<(@]\+\s\+/ nextgroup=muttrcAliasEncEmail,muttrcAliasEncEmailNL
syntax region muttrcAliasName contained matchgroup=Type start=/(/ end=/)/ skipwhite
syntax match muttrcAliasNameNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcAliasName,muttrcAliasNameNL
syntax match muttrcAliasENNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcAliasEmail,muttrcAliasEncEmail,muttrcAliasNameNoParens,muttrcAliasENNL
syntax match muttrcAliasKey contained /\s*[^- \t]\S\+/ skipwhite nextgroup=muttrcAliasEmail,muttrcAliasEncEmail,muttrcAliasNameNoParens,muttrcAliasENNL
syntax match muttrcAliasNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcAliasGroupDef,muttrcAliasKey,muttrcAliasNL
syntax match muttrcUnAliasKey contained "\s*\w\+\s*" skipwhite nextgroup=muttrcUnAliasKey,muttrcUnAliasNL
syntax match muttrcUnAliasNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcUnAliasKey,muttrcUnAliasNL
" CHECKED 2024 Oct 12
" List of letters in Flags in pattern/flags.c
" Parameter: none
syntax match muttrcSimplePat contained "!\?\^\?[~][ADEFGgklNOPpQRSTUuVv#$=]"
" Parameter: range
syntax match muttrcSimplePat contained "!\?\^\?[~][mnXz]\s*\%([<>-][0-9]\+[kM]\?\|[0-9]\+[kM]\?[-]\%([0-9]\+[kM]\?\)\?\)"
" Parameter: date
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
" Parameter: regex
syntax match muttrcSimplePat contained "!\?\^\?[~][BbCcefHhIiKLMstwxYy]\s*" nextgroup=muttrcSimplePatRXContainer
" Parameter: pattern
syntax match muttrcSimplePat contained "!\?\^\?[%][BbCcefHhiLstxy]\s*" nextgroup=muttrcSimplePatString
" Parameter: pattern
syntax match muttrcSimplePat contained "!\?\^\?[=][bcCefhHiLstxy]\s*" nextgroup=muttrcSimplePatString
syntax region muttrcSimplePat contained keepend start=+!\?\^\?[~](+ end=+)+ contains=muttrcSimplePat
"syn match muttrcSimplePat contained /'[^~=%][^']*/ contains=muttrcRXString
syntax region muttrcSimplePatString contained keepend start=+"+ end=+"+ skip=+\\"+
syntax region muttrcSimplePatString contained keepend start=+'+ end=+'+ skip=+\\'+
syntax region muttrcSimplePatString contained keepend start=+[^ "']+ skip=+\\ + end=+\s+re=e-1
syntax region muttrcSimplePatRXContainer contained keepend start=+"+ end=+"+ skip=+\\"+ contains=muttrcRXString
syntax region muttrcSimplePatRXContainer contained keepend start=+'+ end=+'+ skip=+\\'+ contains=muttrcRXString
syntax region muttrcSimplePatRXContainer contained keepend start=+[^ "']+ skip=+\\ + end=+\s+re=e-1 contains=muttrcRXString
syntax match muttrcSimplePatMetas contained /[(|)]/
syntax match muttrcOptSimplePat contained skipwhite /[~=%!(^].*/ contains=muttrcSimplePat,muttrcSimplePatMetas
syntax match muttrcOptSimplePat contained skipwhite /[^~=%!(^].*/ contains=muttrcRXString
syntax region muttrcOptPattern contained matchgroup=Type keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcOptSimplePat,muttrcUnHighlightSpace nextgroup=muttrcString,muttrcStringNL
syntax region muttrcOptPattern contained matchgroup=Type keepend skipwhite start=+'+ skip=+\\'+ end=+'+ contains=muttrcOptSimplePat,muttrcUnHighlightSpace nextgroup=muttrcString,muttrcStringNL
syntax region muttrcOptPattern contained keepend skipwhite start=+[~](+ end=+)+ skip=+\\)+ contains=muttrcSimplePat nextgroup=muttrcString,muttrcStringNL
syntax match muttrcOptPattern contained skipwhite /[~][A-Za-z]/ contains=muttrcSimplePat nextgroup=muttrcString,muttrcStringNL
syntax match muttrcOptPattern contained skipwhite /[.]/ nextgroup=muttrcString,muttrcStringNL
" Keep muttrcPattern and muttrcOptPattern synchronized
syntax region muttrcPattern contained matchgroup=Type keepend skipwhite start=+"+ skip=+\\"+ end=+"+ contains=muttrcSimplePat,muttrcUnHighlightSpace,muttrcSimplePatMetas
syntax region muttrcPattern contained matchgroup=Type keepend skipwhite start=+'+ skip=+\\'+ end=+'+ contains=muttrcSimplePat,muttrcUnHighlightSpace,muttrcSimplePatMetas
syntax region muttrcPattern contained keepend skipwhite start=+[~](+ end=+)+ skip=+\\)+ contains=muttrcSimplePat
syntax match muttrcPattern contained skipwhite /[~][A-Za-z]/ contains=muttrcSimplePat
syntax match muttrcPattern contained skipwhite /[.]/
syntax region muttrcPatternInner contained keepend start=+"[~=%!(^]+ms=s+1 skip=+\\"+ end=+"+me=e-1 contains=muttrcSimplePat,muttrcUnHighlightSpace,muttrcSimplePatMetas
syntax region muttrcPatternInner contained keepend start=+'[~=%!(^]+ms=s+1 skip=+\\'+ end=+'+me=e-1 contains=muttrcSimplePat,muttrcUnHighlightSpace,muttrcSimplePatMetas
" Colour definitions takes object, foreground and background arguments (regexes excluded).
syntax match muttrcColorMatchCount contained "[0-9]\+"
syntax match muttrcColorMatchCountNL contained skipwhite skipnl "\s*\\$" nextgroup=muttrcColorMatchCount,muttrcColorMatchCountNL
syntax region muttrcColorRXPat contained start=+\s*'+ skip=+\\'+ end=+'\s*+ keepend skipwhite contains=muttrcRXString2 nextgroup=muttrcColorMatchCount,muttrcColorMatchCountNL
syntax region muttrcColorRXPat contained start=+\s*"+ skip=+\\"+ end=+"\s*+ keepend skipwhite contains=muttrcRXString2 nextgroup=muttrcColorMatchCount,muttrcColorMatchCountNL
syntax keyword muttrcColor contained black blue cyan default green magenta red white yellow
syntax keyword muttrcColor contained brightblack brightblue brightcyan brightdefault brightgreen brightmagenta brightred brightwhite brightyellow
syntax keyword muttrcColor contained lightblack lightblue lightcyan lightdefault lightgreen lightmagenta lightred lightwhite lightyellow
syntax keyword muttrcColor contained alertblack alertblue alertcyan alertdefault alertgreen alertmagenta alertred alertwhite alertyellow
syntax match muttrcColor contained "\<\%(bright\)\=color\d\{1,3}\>"
syntax match muttrcColor contained "#[0-9a-fA-F]\{6}\>"
" Now for the structure of the color line
syntax match muttrcColorRXNL contained skipnl "\s*\\$" nextgroup=muttrcColorRXPat,muttrcColorRXNL
syntax match muttrcColorBG contained /\s*[#$]\?\w\+/ contains=muttrcColor,muttrcVariable,muttrcUnHighlightSpace nextgroup=muttrcColorRXPat,muttrcColorRXNL
syntax match muttrcColorBGNL contained skipnl "\s*\\$" nextgroup=muttrcColorBG,muttrcColorBGNL
syntax match muttrcColorFG contained /\s*[#$]\?\w\+/ contains=muttrcColor,muttrcVariable,muttrcUnHighlightSpace nextgroup=muttrcColorBG,muttrcColorBGNL
syntax match muttrcColorFGNL contained skipnl "\s*\\$" nextgroup=muttrcColorFG,muttrcColorFGNL
syntax match muttrcColorContext contained /\s*[#$]\?\w\+/ contains=muttrcColorField,muttrcVariable,muttrcUnHighlightSpace,muttrcColorCompose nextgroup=muttrcColorFG,muttrcColorFGNL
syntax match muttrcColorNL contained skipnl "\s*\\$" nextgroup=muttrcColorContext,muttrcColorNL,muttrcColorCompose
syntax match muttrcColorKeyword contained /^\s*color\s\+/ nextgroup=muttrcColorContext,muttrcColorNL,muttrcColorCompose
" And now color's brother:
syntax region muttrcUnColorPatterns contained skipwhite start=+\s*'+ end=+'+ skip=+\\'+ contains=muttrcPattern nextgroup=muttrcUnColorPatterns,muttrcUnColorPatNL
syntax region muttrcUnColorPatterns contained skipwhite start=+\s*"+ end=+"+ skip=+\\"+ contains=muttrcPattern nextgroup=muttrcUnColorPatterns,muttrcUnColorPatNL
syntax match muttrcUnColorPatterns contained skipwhite /\s*[^'"\s]\S\*/ contains=muttrcPattern nextgroup=muttrcUnColorPatterns,muttrcUnColorPatNL
syntax match muttrcUnColorPatNL contained skipwhite skipnl /\s*\\$/ nextgroup=muttrcUnColorPatterns,muttrcUnColorPatNL
syntax match muttrcUnColorAll contained skipwhite /[*]/
syntax match muttrcUnColorAPNL contained skipwhite skipnl /\s*\\$/ nextgroup=muttrcUnColorPatterns,muttrcUnColorAll,muttrcUnColorAPNL
syntax match muttrcUnColorIndex contained skipwhite /\s*index\s\+/ nextgroup=muttrcUnColorPatterns,muttrcUnColorAll,muttrcUnColorAPNL
syntax match muttrcUnColorIndexNL contained skipwhite skipnl /\s*\\$/ nextgroup=muttrcUnColorIndex,muttrcUnColorIndexNL
syntax match muttrcUnColorKeyword contained skipwhite /^\s*uncolor\s\+/ nextgroup=muttrcUnColorIndex,muttrcUnColorIndexNL
syntax region muttrcUnColorLine keepend start=+^\s*uncolor\s+ skip=+\\$+ end=+$+ contains=muttrcUnColorKeyword,muttrcComment,muttrcUnHighlightSpace
syntax keyword muttrcMonoAttrib contained bold italic none normal reverse standout underline
syntax keyword muttrcMono contained mono skipwhite nextgroup=muttrcColorField,muttrcColorCompose
syntax match muttrcMonoLine "^\s*mono\s\+\S\+" skipwhite nextgroup=muttrcMonoAttrib contains=muttrcMono
" CHECKED 2024 Oct 12
" List of fields in ColorFields in color/command.c
syntax keyword muttrcColorField skipwhite contained
\ attachment attach_headers body bold error hdrdefault header index index_author
\ index_collapsed index_date index_flags index_label index_number index_size index_subject
\ index_tag index_tags indicator italic markers message normal options progress prompt
\ search sidebar_background sidebar_divider sidebar_flagged sidebar_highlight
\ sidebar_indicator sidebar_new sidebar_ordinary sidebar_spool_file sidebar_unread signature
\ status stripe_even stripe_odd tilde tree underline warning
\ nextgroup=muttrcColor
syntax match muttrcColorField contained "\<quoted\d\=\>"
syntax match muttrcColorCompose skipwhite contained /\s*compose\s*/ nextgroup=muttrcColorComposeField
" CHECKED 2024 Oct 12
" List of fields in ComposeColorFields in color/command.c
syntax keyword muttrcColorComposeField skipwhite contained
\ header security_both security_encrypt security_none security_sign
\ nextgroup=muttrcColorFG,muttrcColorFGNL
syntax region muttrcColorLine keepend start=/^\s*color\s\+/ skip=+\\$+ end=+$+ contains=muttrcColorKeyword,muttrcComment,muttrcUnHighlightSpace
function! s:boolQuadGen(type, vars, deprecated)
let l:novars = copy(a:vars)
call map(l:novars, '"no" . v:val')
let l:invvars = copy(a:vars)
call map(l:invvars, '"inv" . v:val')
let l:orig_type = copy(a:type)
if a:deprecated
let l:type = 'Deprecated' . a:type
exec 'syntax keyword muttrcVar' . l:type . ' ' . join(a:vars)
exec 'syntax keyword muttrcVar' . l:type . ' ' . join(l:novars)
exec 'syntax keyword muttrcVar' . l:type . ' ' . join(l:invvars)
else
let l:type = a:type
exec 'syntax keyword muttrcVar' . l:type . ' skipwhite contained ' . join(a:vars) . ' nextgroup=muttrcSet' . l:orig_type . 'Assignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString'
exec 'syntax keyword muttrcVar' . l:type . ' skipwhite contained ' . join(l:novars) . ' nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString'
exec 'syntax keyword muttrcVar' . l:type . ' skipwhite contained ' . join(l:invvars) . ' nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString'
endif
endfunction
" CHECKED 2024 Oct 12
" List of DT_BOOL in MuttVars in mutt_config.c
call s:boolQuadGen('Bool', [
\ 'abort_backspace', 'allow_8bit', 'allow_ansi', 'arrow_cursor', 'ascii_chars', 'ask_bcc',
\ 'ask_cc', 'ask_followup_to', 'ask_x_comment_to', 'attach_save_without_prompting',
\ 'attach_split', 'autocrypt', 'autocrypt_reply', 'auto_edit', 'auto_subscribe', 'auto_tag',
\ 'beep', 'beep_new', 'bounce_delivered', 'braille_friendly',
\ 'browser_abbreviate_mailboxes', 'browser_sort_dirs_first', 'change_folder_next',
\ 'check_mbox_size', 'check_new', 'collapse_all', 'collapse_flagged', 'collapse_unread',
\ 'color_directcolor', 'compose_confirm_detach_first', 'compose_show_user_headers',
\ 'confirm_append', 'confirm_create', 'copy_decode_weed', 'count_alternatives',
\ 'crypt_auto_encrypt', 'crypt_auto_pgp', 'crypt_auto_sign', 'crypt_auto_smime',
\ 'crypt_confirm_hook', 'crypt_encryption_info', 'crypt_opportunistic_encrypt',
\ 'crypt_opportunistic_encrypt_strong_keys', 'crypt_protected_headers_read',
\ 'crypt_protected_headers_save', 'crypt_protected_headers_weed',
\ 'crypt_protected_headers_write', 'crypt_reply_encrypt', 'crypt_reply_sign',
\ 'crypt_reply_sign_encrypted', 'crypt_timestamp', 'crypt_use_gpgme', 'crypt_use_pka',
\ 'delete_untag', 'digest_collapse', 'duplicate_threads', 'edit_headers', 'encode_from',
\ 'fast_reply', 'fcc_before_send', 'fcc_clear', 'flag_safe', 'followup_to', 'force_name',
\ 'forward_decode', 'forward_decrypt', 'forward_quote', 'forward_references', 'hdrs',
\ 'header', 'header_color_partial', 'help', 'hidden_host', 'hide_limited', 'hide_missing',
\ 'hide_thread_subject', 'hide_top_limited', 'hide_top_missing', 'history_remove_dups',
\ 'honor_disposition', 'idn_decode', 'idn_encode', 'ignore_list_reply_to',
\ 'imap_check_subscribed', 'imap_condstore', 'imap_deflate', 'imap_idle',
\ 'imap_list_subscribed', 'imap_passive', 'imap_peek', 'imap_qresync', 'imap_rfc5161',
\ 'imap_send_id', 'imap_server_noise', 'implicit_auto_view', 'include_encrypted',
\ 'include_only_first', 'keep_flagged', 'local_date_header', 'mailcap_sanitize',
\ 'maildir_check_cur', 'maildir_header_cache_verify', 'maildir_trash', 'mail_check_recent',
\ 'mail_check_stats', 'markers', 'mark_old', 'menu_move_off', 'menu_scroll',
\ 'message_cache_clean', 'meta_key', 'me_too', 'mh_purge', 'mime_forward_decode',
\ 'mime_type_query_first', 'narrow_tree', 'nm_query_window_enable', 'nm_record',
\ 'nntp_listgroup', 'nntp_load_description', 'pager_stop', 'pgp_auto_decode',
\ 'pgp_auto_inline', 'pgp_check_exit', 'pgp_check_gpg_decrypt_status_fd',
\ 'pgp_ignore_subkeys', 'pgp_long_ids', 'pgp_reply_inline', 'pgp_retainable_sigs',
\ 'pgp_self_encrypt', 'pgp_show_unusable', 'pgp_strict_enc', 'pgp_use_gpg_agent',
\ 'pipe_decode', 'pipe_decode_weed', 'pipe_split', 'pop_auth_try_all', 'pop_last',
\ 'postpone_encrypt', 'print_decode', 'print_decode_weed', 'print_split', 'prompt_after',
\ 'read_only', 'reflow_space_quotes', 'reflow_text', 'reply_self', 'reply_with_xorig',
\ 'resolve', 'resume_draft_files', 'resume_edited_draft_files', 'reverse_alias',
\ 'reverse_name', 'reverse_real_name', 'rfc2047_parameters', 'save_address', 'save_empty',
\ 'save_name', 'save_unsubscribed', 'score', 'show_new_news', 'show_only_unread',
\ 'sidebar_folder_indent', 'sidebar_new_mail_only', 'sidebar_next_new_wrap',
\ 'sidebar_non_empty_mailbox_only', 'sidebar_on_right', 'sidebar_short_path',
\ 'sidebar_visible', 'sig_dashes', 'sig_on_top', 'size_show_bytes', 'size_show_fractions',
\ 'size_show_mb', 'size_units_on_left', 'smart_wrap', 'smime_ask_cert_label',
\ 'smime_decrypt_use_default_key', 'smime_is_default', 'smime_self_encrypt', 'sort_re',
\ 'ssl_force_tls', 'ssl_use_sslv2', 'ssl_use_sslv3', 'ssl_use_system_certs',
\ 'ssl_use_tlsv1', 'ssl_use_tlsv1_1', 'ssl_use_tlsv1_2', 'ssl_use_tlsv1_3',
\ 'ssl_verify_dates', 'ssl_verify_host', 'ssl_verify_partial_chains', 'status_on_top',
\ 'strict_threads', 'suspend', 'text_flowed', 'thorough_search', 'thread_received', 'tilde',
\ 'ts_enabled', 'tunnel_is_secure', 'uncollapse_jump', 'uncollapse_new', 'user_agent',
\ 'use_8bit_mime', 'use_domain', 'use_envelope_from', 'use_from', 'use_ipv6',
\ 'virtual_spool_file', 'wait_key', 'weed', 'wrap_search', 'write_bcc', 'x_comment_to'
\ ], 0)
" CHECKED 2024 Oct 12
" Deprecated Bools
" List of DT_SYNONYM or DT_DEPRECATED Bools in MuttVars in mutt_config.c
call s:boolQuadGen('Bool', [
\ 'askbcc', 'askcc', 'ask_follow_up', 'autoedit', 'confirmappend', 'confirmcreate',
\ 'crypt_autoencrypt', 'crypt_autopgp', 'crypt_autosign', 'crypt_autosmime',
\ 'crypt_confirmhook', 'crypt_replyencrypt', 'crypt_replysign', 'crypt_replysignencrypted',
\ 'cursor_overlay', 'edit_hdrs', 'envelope_from', 'forw_decode', 'forw_decrypt',
\ 'forw_quote', 'header_cache_compress', 'ignore_linear_white_space', 'imap_servernoise',
\ 'implicit_autoview', 'include_onlyfirst', 'metoo', 'mime_subject', 'pgp_autoencrypt',
\ 'pgp_autoinline', 'pgp_autosign', 'pgp_auto_traditional', 'pgp_create_traditional',
\ 'pgp_replyencrypt', 'pgp_replyinline', 'pgp_replysign', 'pgp_replysignencrypted',
\ 'pgp_self_encrypt_as', 'reverse_realname', 'smime_self_encrypt_as', 'ssl_usesystemcerts',
\ 'use_8bitmime', 'virtual_spoolfile', 'xterm_set_titles'
\ ], 1)
" CHECKED 2024 Oct 12
" List of DT_QUAD in MuttVars in mutt_config.c
call s:boolQuadGen('Quad', [
\ 'abort_noattach', 'abort_nosubject', 'abort_unmodified', 'bounce', 'catchup_newsgroup',
\ 'copy', 'crypt_verify_sig', 'delete', 'fcc_attach', 'followup_to_poster',
\ 'forward_attachments', 'forward_edit', 'honor_followup_to', 'include', 'mime_forward',
\ 'mime_forward_rest', 'move', 'pgp_mime_auto', 'pop_delete', 'pop_reconnect', 'postpone',
\ 'post_moderated', 'print', 'quit', 'recall', 'reply_to', 'ssl_starttls'
\ ], 0)
" CHECKED 2024 Oct 12
" Deprecated Quads
" List of DT_SYNONYM or DT_DEPRECATED Quads in MuttVars in mutt_config.c
call s:boolQuadGen('Quad', [
\ 'mime_fwd', 'pgp_encrypt_self', 'pgp_verify_sig', 'smime_encrypt_self'
\ ], 1)
" CHECKED 2024 Oct 12
" List of DT_NUMBER or DT_LONG in MuttVars in mutt_config.c
syntax keyword muttrcVarNum skipwhite contained
\ debug_level header_cache_compress_level history imap_fetch_chunk_size imap_keep_alive
\ imap_pipeline_depth imap_poll_timeout mail_check mail_check_stats_interval menu_context
\ net_inc nm_db_limit nm_open_timeout nm_query_window_current_position
\ nm_query_window_duration nntp_context nntp_poll pager_context pager_index_lines
\ pager_read_delay pager_skip_quoted_context pgp_timeout pop_check_interval read_inc
\ reflow_wrap save_history score_threshold_delete score_threshold_flag score_threshold_read
\ search_context sendmail_wait sidebar_component_depth sidebar_width sleep_time
\ smime_timeout socket_timeout ssl_min_dh_prime_bits timeout time_inc
\ toggle_quoted_show_levels wrap wrap_headers write_inc
\ nextgroup=muttrcSetNumAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
" CHECKED 2024 Oct 12
" Deprecated Numbers
syntax keyword muttrcVarDeprecatedNum
\ connect_timeout header_cache_pagesize imap_keepalive pop_checkinterval skip_quoted_offset
" CHECKED 2024 Oct 12
" List of DT_STRING in MuttVars in mutt_config.c
" Special cases first, and all the rest at the end
" Formats themselves must be updated in their respective groups
" See s:escapesConditionals
syntax match muttrcVarString contained skipwhite 'my_[a-zA-Z0-9_]\+' nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax keyword muttrcVarString contained skipwhite alias_format nextgroup=muttrcVarEqualsAliasFormat
syntax keyword muttrcVarString contained skipwhite attach_format nextgroup=muttrcVarEqualsAttachFormat
syntax keyword muttrcVarString contained skipwhite autocrypt_acct_format nextgroup=muttrcVarEqualsAutocryptFormat
syntax keyword muttrcVarString contained skipwhite compose_format nextgroup=muttrcVarEqualsComposeFormat
syntax keyword muttrcVarString contained skipwhite folder_format mailbox_folder_format nextgroup=muttrcVarEqualsFolderFormat
syntax keyword muttrcVarString contained skipwhite greeting nextgroup=muttrcVarEqualsGreetingFormat
syntax keyword muttrcVarString contained skipwhite history_format nextgroup=muttrcVarEqualsHistoryFormat
syntax keyword muttrcVarString contained skipwhite
\ attribution_intro attribution_trailer forward_attribution_intro forward_attribution_trailer
\ forward_format indent_string index_format message_format pager_format
\ nextgroup=muttrcVarEqualsIndexFormat
syntax keyword muttrcVarString contained skipwhite pattern_format nextgroup=muttrcVarEqualsPatternFormat
syntax keyword muttrcVarString contained skipwhite
\ pgp_clear_sign_command pgp_decode_command pgp_decrypt_command pgp_encrypt_only_command
\ pgp_encrypt_sign_command pgp_export_command pgp_get_keys_command pgp_import_command
\ pgp_list_pubring_command pgp_list_secring_command pgp_sign_command pgp_verify_command
\ pgp_verify_key_command
\ nextgroup=muttrcVarEqualsPgpCommandFormat
syntax keyword muttrcVarString contained skipwhite pgp_entry_format nextgroup=muttrcVarEqualsPgpEntryFormat
syntax keyword muttrcVarString contained skipwhite query_format nextgroup=muttrcVarEqualsQueryFormat
syntax keyword muttrcVarString contained skipwhite
\ smime_decrypt_command smime_encrypt_command smime_get_cert_command
\ smime_get_cert_email_command smime_get_signer_cert_command smime_import_cert_command
\ smime_pk7out_command smime_sign_command smime_verify_command smime_verify_opaque_command
\ nextgroup=muttrcVarEqualsSmimeCommandFormat
syntax keyword muttrcVarString contained skipwhite status_format ts_icon_format ts_status_format nextgroup=muttrcVarEqualsStatusFormat
syntax keyword muttrcVarString contained skipwhite date_format nextgroup=muttrcVarEqualsStrftimeFormat
syntax keyword muttrcVarString contained skipwhite group_index_format nextgroup=muttrcVarEqualsGroupIndexFormat
syntax keyword muttrcVarString contained skipwhite sidebar_format nextgroup=muttrcVarEqualsSidebarFormat
syntax keyword muttrcVarString contained skipwhite
\ abort_key arrow_string assumed_charset attach_charset attach_sep attribution_locale
\ charset config_charset content_type crypt_protected_headers_subject default_hook
\ dsn_notify dsn_return empty_subject header_cache_backend header_cache_compress_method
\ hidden_tags hostname imap_authenticators imap_delim_chars imap_headers imap_login
\ imap_pass imap_user mailcap_path maildir_field_delimiter mark_macro_prefix mh_seq_flagged
\ mh_seq_replied mh_seq_unseen newsgroups_charset newsrc news_server nm_config_profile
\ nm_default_url nm_exclude_tags nm_flagged_tag nm_query_type nm_query_window_current_search
\ nm_query_window_or_terms nm_query_window_timebase nm_record_tags nm_replied_tag
\ nm_unread_tag nntp_authenticators nntp_pass nntp_user pgp_default_key pgp_sign_as pipe_sep
\ pop_authenticators pop_host pop_pass pop_user postpone_encrypt_as preconnect
\ preferred_languages real_name send_charset show_multipart_alternative sidebar_delim_chars
\ sidebar_divider_char sidebar_indent_string simple_search smime_default_key
\ smime_encrypt_with smime_sign_as smime_sign_digest_alg smtp_authenticators smtp_pass
\ smtp_url smtp_user spam_separator ssl_ciphers
\ nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
" Deprecated strings
syntax keyword muttrcVarDeprecatedString
\ abort_noattach_regexp attach_keyword attribution escape forw_format hdr_format indent_str
\ message_cachedir mixmaster mix_entry_format msg_format nm_default_uri
\ pgp_clearsign_command pgp_getkeys_command pgp_self_encrypt_as post_indent_str
\ post_indent_string print_cmd quote_regexp realname reply_regexp smime_self_encrypt_as
\ spoolfile tmpdir vfolder_format visual xterm_icon xterm_title
" CHECKED 2024 Oct 12
" List of DT_ADDRESS
syntax keyword muttrcVarString contained skipwhite envelope_from_address from nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
" List of DT_ENUM
syntax keyword muttrcVarString contained skipwhite mbox_type use_threads nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
" List of DT_MBTABLE
syntax keyword muttrcVarString contained skipwhite crypt_chars flag_chars from_chars status_chars to_chars nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
" CHECKED 2024 Oct 12
" List of DT_PATH or D_STRING_MAILBOX
syntax keyword muttrcVarString contained skipwhite
\ alias_file attach_save_dir autocrypt_dir certificate_file debug_file entropy_file folder
\ header_cache history_file mbox message_cache_dir news_cache_dir nm_config_file postponed
\ record signature smime_ca_location smime_certificates smime_keys spool_file
\ ssl_ca_certificates_file ssl_client_cert tmp_dir trash
\ nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
" List of DT_COMMAND (excluding pgp_*_command and smime_*_command)
syntax keyword muttrcVarString contained skipwhite
\ account_command display_filter editor external_search_command imap_oauth_refresh_command
\ inews ispell mime_type_query_command new_mail_command pager pop_oauth_refresh_command
\ print_command query_command sendmail shell smtp_oauth_refresh_command tunnel
\ nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
" CHECKED 2024 Oct 12
" List of DT_REGEX
syntax keyword muttrcVarString contained skipwhite
\ abort_noattach_regex gecos_mask mask pgp_decryption_okay pgp_good_sign quote_regex
\ reply_regex smileys
\ nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
" List of DT_SORT
syntax keyword muttrcVarString contained skipwhite
\ pgp_sort_keys sidebar_sort_method sort sort_alias sort_aux sort_browser
\ nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
" CHECKED 2024 Oct 12
" List of commands in mutt_commands in commands.c
" Remember to remove hooks, they have already been dealt with
syntax keyword muttrcCommand skipwhite alias nextgroup=muttrcAliasGroupDef,muttrcAliasKey,muttrcAliasNL
syntax keyword muttrcCommand skipwhite bind nextgroup=muttrcBindMenuList,muttrcBindMenuListNL
syntax keyword muttrcCommand skipwhite exec nextgroup=muttrcFunction
syntax keyword muttrcCommand skipwhite macro nextgroup=muttrcMacroMenuList,muttrcMacroMenuListNL
syntax keyword muttrcCommand skipwhite nospam nextgroup=muttrcNoSpamPattern
syntax keyword muttrcCommand skipwhite set unset reset toggle nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarString
syntax keyword muttrcCommand skipwhite spam nextgroup=muttrcSpamPattern
syntax keyword muttrcCommand skipwhite unalias nextgroup=muttrcUnAliasKey,muttrcUnAliasNL
syntax keyword muttrcCommand skipwhite unhook nextgroup=muttrcHooks
syntax keyword muttrcCommand skipwhite
\ alternative_order attachments auto_view cd echo finish hdr_order ifdef ifndef ignore lua
\ lua-source mailboxes mailto_allow mime_lookup my_hdr named-mailboxes push score setenv
\ sidebar_pin sidebar_unpin source subjectrx subscribe-to tag-formats tag-transforms
\ unalternative_order unattachments unauto_view unbind uncolor unhdr_order unignore unmacro
\ unmailboxes unmailto_allow unmime_lookup unmono unmy_hdr unscore unsetenv unsubjectrx
\ unsubscribe-from unvirtual-mailboxes version virtual-mailboxes
" CHECKED 2024 Oct 12
" Deprecated commands
syntax keyword muttrcDeprecatedCommand skipwhite
\ sidebar_whitelist unsidebar_whitelist
function! s:genFunctions(functions)
for f in a:functions
exec 'syntax match muttrcFunction contained "\<' . l:f . '\>"'
endfor
endfunction
" CHECKED 2024 Oct 12
" List of functions in functions.c
" Note: 'noop' is included but is elsewhere in the source
call s:genFunctions(['noop',
\ 'alias-dialog', 'attach-file', 'attach-key', 'attach-message', 'attach-news-message',
\ 'autocrypt-acct-menu', 'autocrypt-menu', 'backspace', 'backward-char', 'backward-word',
\ 'bol', 'bottom', 'bottom-page', 'bounce-message', 'break-thread', 'buffy-cycle',
\ 'buffy-list', 'capitalize-word', 'catchup', 'change-dir', 'change-folder',
\ 'change-folder-readonly', 'change-newsgroup', 'change-newsgroup-readonly',
\ 'change-vfolder', 'check-new', 'check-stats', 'check-traditional-pgp', 'clear-flag',
\ 'collapse-all', 'collapse-parts', 'collapse-thread', 'complete', 'complete-query',
\ 'compose-to-sender', 'copy-file', 'copy-message', 'create-account', 'create-alias',
\ 'create-mailbox', 'current-bottom', 'current-middle', 'current-top', 'decode-copy',
\ 'decode-save', 'decrypt-copy', 'decrypt-save', 'delete-account', 'delete-char',
\ 'delete-entry', 'delete-mailbox', 'delete-message', 'delete-pattern', 'delete-subthread',
\ 'delete-thread', 'descend-directory', 'detach-file', 'display-address',
\ 'display-filename', 'display-message', 'display-toggle-weed', 'downcase-word', 'edit',
\ 'edit-bcc', 'edit-cc', 'edit-content-id', 'edit-description', 'edit-encoding', 'edit-fcc',
\ 'edit-file', 'edit-followup-to', 'edit-from', 'edit-headers', 'edit-label',
\ 'edit-language', 'edit-message', 'edit-mime', 'edit-newsgroups',
\ 'edit-or-view-raw-message', 'edit-raw-message', 'edit-reply-to', 'edit-subject',
\ 'edit-to', 'edit-type', 'edit-x-comment-to', 'end-cond', 'enter-command', 'enter-mask',
\ 'entire-thread', 'eol', 'error-history', 'exit', 'extract-keys', 'fetch-mail',
\ 'filter-entry', 'first-entry', 'flag-message', 'followup-message', 'forget-passphrase',
\ 'forward-char', 'forward-message', 'forward-to-group', 'forward-word', 'get-attachment',
\ 'get-children', 'get-message', 'get-parent', 'goto-folder', 'goto-parent',
\ 'group-alternatives', 'group-chat-reply', 'group-multilingual', 'group-related',
\ 'group-reply', 'half-down', 'half-up', 'help', 'history-down', 'history-search',
\ 'history-up', 'imap-fetch-mail', 'imap-logout-all', 'ispell', 'jump', 'kill-eol',
\ 'kill-eow', 'kill-line', 'kill-whole-line', 'kill-word', 'last-entry', 'limit',
\ 'limit-current-thread', 'link-threads', 'list-reply', 'list-subscribe',
\ 'list-unsubscribe', 'mail', 'mail-key', 'mailbox-cycle', 'mailbox-list', 'mark-as-new',
\ 'mark-message', 'middle-page', 'modify-labels', 'modify-labels-then-hide', 'modify-tags',
\ 'modify-tags-then-hide', 'move-down', 'move-up', 'new-mime', 'next-entry', 'next-line',
\ 'next-new', 'next-new-then-unread', 'next-page', 'next-subthread', 'next-thread',
\ 'next-undeleted', 'next-unread', 'next-unread-mailbox', 'parent-message', 'pgp-menu',
\ 'pipe-entry', 'pipe-message', 'post-message', 'postpone-message', 'previous-entry',
\ 'previous-line', 'previous-new', 'previous-new-then-unread', 'previous-page',
\ 'previous-subthread', 'previous-thread', 'previous-undeleted', 'previous-unread',
\ 'print-entry', 'print-message', 'purge-message', 'purge-thread', 'quasi-delete', 'query',
\ 'query-append', 'quit', 'quote-char', 'read-subthread', 'read-thread', 'recall-message',
\ 'reconstruct-thread', 'redraw-screen', 'refresh', 'reload-active', 'rename-attachment',
\ 'rename-file', 'rename-mailbox', 'reply', 'resend-message', 'root-message', 'save-entry',
\ 'save-message', 'search', 'search-next', 'search-opposite', 'search-reverse',
\ 'search-toggle', 'select-entry', 'select-new', 'send-message', 'set-flag', 'shell-escape',
\ 'show-limit', 'show-log-messages', 'show-version', 'sidebar-first', 'sidebar-last',
\ 'sidebar-next', 'sidebar-next-new', 'sidebar-open', 'sidebar-page-down',
\ 'sidebar-page-up', 'sidebar-prev', 'sidebar-prev-new', 'sidebar-toggle-virtual',
\ 'sidebar-toggle-visible', 'skip-headers', 'skip-quoted', 'smime-menu', 'sort',
\ 'sort-alias', 'sort-alias-reverse', 'sort-mailbox', 'sort-reverse', 'subscribe',
\ 'subscribe-pattern', 'sync-mailbox', 'tag-entry', 'tag-message', 'tag-pattern',
\ 'tag-prefix', 'tag-prefix-cond', 'tag-subthread', 'tag-thread', 'toggle-active',
\ 'toggle-disposition', 'toggle-mailboxes', 'toggle-new', 'toggle-prefer-encrypt',
\ 'toggle-quoted', 'toggle-read', 'toggle-recode', 'toggle-subscribed', 'toggle-unlink',
\ 'toggle-write', 'top', 'top-page', 'transpose-chars', 'uncatchup', 'undelete-entry',
\ 'undelete-message', 'undelete-pattern', 'undelete-subthread', 'undelete-thread',
\ 'ungroup-attachment', 'unsubscribe', 'unsubscribe-pattern', 'untag-pattern',
\ 'upcase-word', 'update-encoding', 'verify-key', 'vfolder-from-query',
\ 'vfolder-from-query-readonly', 'vfolder-window-backward', 'vfolder-window-forward',
\ 'vfolder-window-reset', 'view-attach', 'view-attachments', 'view-file', 'view-mailcap',
\ 'view-name', 'view-pager', 'view-raw-message', 'view-text', 'what-key', 'write-fcc'
\ ])
" Define the default highlighting.
" Only when an item doesn't have highlighting yet
highlight def link muttrcSetBoolAssignment Boolean
highlight def link muttrcSetQuadAssignment Boolean
highlight def link muttrcComment Comment
highlight def link muttrcAlternatesLine Error
highlight def link muttrcBadAction Error
highlight def link muttrcBindFunction Error
highlight def link muttrcBindMenuList Error
highlight def link muttrcColorBG Error
highlight def link muttrcColorContext Error
highlight def link muttrcColorFG Error
highlight def link muttrcColorLine Error
highlight def link muttrcDeprecatedCommand Error
highlight def link muttrcFormatErrors Error
highlight def link muttrcGroupLine Error
highlight def link muttrcPattern Error
highlight def link muttrcUnColorLine Error
highlight def link muttrcVarDeprecatedBool Error
highlight def link muttrcVarDeprecatedNum Error
highlight def link muttrcVarDeprecatedQuad Error
highlight def link muttrcVarDeprecatedString Error
highlight def link muttrcAliasEncEmail Identifier
highlight def link muttrcAliasKey Identifier
highlight def link muttrcColorCompose Identifier
highlight def link muttrcColorComposeField Identifier
highlight def link muttrcColorField Identifier
highlight def link muttrcMenu Identifier
highlight def link muttrcSimplePat Identifier
highlight def link muttrcUnAliasKey Identifier
highlight def link muttrcUnColorIndex Identifier
highlight def link muttrcVarBool Identifier
highlight def link muttrcVarNum Identifier
highlight def link muttrcVarQuad Identifier
highlight def link muttrcVarString Identifier
highlight def link muttrcCommand Keyword
highlight def link muttrcAction Macro
highlight def link muttrcAliasGroupName Macro
highlight def link muttrcFunction Macro
highlight def link muttrcGroupDef Macro
highlight def link muttrcSimplePatString Macro
highlight def link muttrcMonoAttrib muttrcColor
highlight def link muttrcAlternateKeyword muttrcCommand
highlight def link muttrcAttachmentsLine muttrcCommand
highlight def link muttrcColorKeyword muttrcCommand
highlight def link muttrcGroupKeyword muttrcCommand
highlight def link muttrcListsKeyword muttrcCommand
highlight def link muttrcMono muttrcCommand
highlight def link muttrcPatHooks muttrcCommand
highlight def link muttrcRXHooks muttrcCommand
highlight def link muttrcSubscribeKeyword muttrcCommand
highlight def link muttrcUnColorKeyword muttrcCommand
highlight def link muttrcAliasFormatEscapes muttrcEscape
highlight def link muttrcAttachFormatEscapes muttrcEscape
highlight def link muttrcAutocryptFormatEscapes muttrcEscape
highlight def link muttrcComposeFormatEscapes muttrcEscape
highlight def link muttrcFolderFormatEscapes muttrcEscape
highlight def link muttrcGreetingFormatEscapes muttrcEscape
highlight def link muttrcGroupIndexFormatEscapes muttrcEscape
highlight def link muttrcHistoryFormatEscapes muttrcEscape
highlight def link muttrcIndexFormatEscapes muttrcEscape
highlight def link muttrcPatternFormatEscapes muttrcEscape
highlight def link muttrcPgpCommandFormatEscapes muttrcEscape
highlight def link muttrcPgpEntryFormatEscapes muttrcEscape
highlight def link muttrcPgpTimeEscapes muttrcEscape
highlight def link muttrcQueryFormatEscapes muttrcEscape
highlight def link muttrcShellString muttrcEscape
highlight def link muttrcSidebarFormatEscapes muttrcEscape
highlight def link muttrcSmimeCommandFormatEscapes muttrcEscape
highlight def link muttrcStatusFormatEscapes muttrcEscape
highlight def link muttrcTimeEscapes muttrcEscape
highlight def link muttrcAliasFormatConditionals muttrcFormatConditionals2
highlight def link muttrcAttachFormatConditionals muttrcFormatConditionals2
highlight def link muttrcAutocryptFormatConditionals muttrcFormatConditionals2
highlight def link muttrcComposeFormatConditionals muttrcFormatConditionals2
highlight def link muttrcFolderFormatConditionals muttrcFormatConditionals2
highlight def link muttrcGreetingFormatConditionals muttrcFormatConditionals2
highlight def link muttrcGroupIndexFormatConditionals muttrcFormatConditionals2
highlight def link muttrcHistoryFormatConditionals muttrcFormatConditionals2
highlight def link muttrcIndexFormatConditionals muttrcFormatConditionals2
highlight def link muttrcPatternFormatConditionals muttrcFormatConditionals2
highlight def link muttrcPgpCommandFormatConditionals muttrcFormatConditionals2
highlight def link muttrcPgpEntryFormatConditionals muttrcFormatConditionals2
highlight def link muttrcQueryFormatConditionals muttrcFormatConditionals2
highlight def link muttrcSidebarFormatConditionals muttrcFormatConditionals2
highlight def link muttrcSmimeCommandFormatConditionals muttrcFormatConditionals2
highlight def link muttrcStatusFormatConditionals muttrcFormatConditionals2
highlight def link muttrcAddrDef muttrcGroupFlag
highlight def link muttrcRXDef muttrcGroupFlag
highlight def link muttrcAliasFormatString muttrcString
highlight def link muttrcAttachFormatString muttrcString
highlight def link muttrcAutocryptFormatString muttrcString
highlight def link muttrcComposeFormatString muttrcString
highlight def link muttrcFolderFormatString muttrcString
highlight def link muttrcGreetingFormatString muttrcString
highlight def link muttrcGroupIndexFormatString muttrcString
highlight def link muttrcHistoryFormatString muttrcString
highlight def link muttrcIndexFormatString muttrcString
highlight def link muttrcPatternFormatString muttrcString
highlight def link muttrcPgpCommandFormatString muttrcString
highlight def link muttrcPgpEntryFormatString muttrcString
highlight def link muttrcQueryFormatString muttrcString
highlight def link muttrcSidebarFormatString muttrcString
highlight def link muttrcSmimeCommandFormatString muttrcString
highlight def link muttrcStatusFormatString muttrcString
highlight def link muttrcStrftimeFormatString muttrcString
highlight def link muttrcSetNumAssignment Number
highlight def link muttrcEmail Special
highlight def link muttrcSimplePatMetas Special
highlight def link muttrcSpecial Special
highlight def link muttrcVariableInner Special
highlight def link muttrcAliasEncEmailNL SpecialChar
highlight def link muttrcAliasENNL SpecialChar
highlight def link muttrcAliasGroupDefNL SpecialChar
highlight def link muttrcAliasNameNL SpecialChar
highlight def link muttrcAliasNL SpecialChar
highlight def link muttrcBindFunctionNL SpecialChar
highlight def link muttrcBindKeyNL SpecialChar
highlight def link muttrcBindMenuListNL SpecialChar
highlight def link muttrcColorBGNL SpecialChar
highlight def link muttrcColorFGNL SpecialChar
highlight def link muttrcColorMatchCountNL SpecialChar
highlight def link muttrcColorNL SpecialChar
highlight def link muttrcColorRXNL SpecialChar
highlight def link muttrcEscape SpecialChar
highlight def link muttrcKeyName SpecialChar
highlight def link muttrcKeySpecial SpecialChar
highlight def link muttrcMacroBodyNL SpecialChar
highlight def link muttrcMacroDescrNL SpecialChar
highlight def link muttrcMacroKeyNL SpecialChar
highlight def link muttrcMacroMenuListNL SpecialChar
highlight def link muttrcRXChars SpecialChar
highlight def link muttrcStringNL SpecialChar
highlight def link muttrcUnAliasNL SpecialChar
highlight def link muttrcUnColorAPNL SpecialChar
highlight def link muttrcUnColorIndexNL SpecialChar
highlight def link muttrcUnColorPatNL SpecialChar
highlight def link muttrcAttachmentsMimeType String
highlight def link muttrcEscapedVariable String
highlight def link muttrcMacroDescr String
highlight def link muttrcRXPat String
highlight def link muttrcRXString String
highlight def link muttrcRXString2 String
highlight def link muttrcSetStrAssignment String
highlight def link muttrcString String
highlight def link muttrcAttachmentsFlag Type
highlight def link muttrcColor Type
highlight def link muttrcFormatConditionals2 Type
highlight def link muttrcGroupFlag Type
highlight def link muttrcHeader Type
highlight def link muttrcHooks Type
highlight def link muttrcKey Type
highlight def link muttrcPatHookNot Type
highlight def link muttrcRXHookNot Type
highlight def link muttrcStrftimeEscapes Type
let b:current_syntax = "neomuttrc"
let &cpo = s:cpo_save
unlet s:cpo_save
" vim: ts=8 noet tw=100 sw=8 sts=0 ft=vim isk+=-
0707010000000D000041ED000000000000000000000002670B97B500000000000000000000000000000000000000000000001B00000000neomutt.vim-20241013/tests0707010000000E000081A4000000000000000000000001670B97B500000050000000000000000000000000000000000000002500000000neomutt.vim-20241013/tests/README.md# Tests for neomuttrc Vim Syntax
Some quick _visual_ tests for neomutt config.
0707010000000F000081A4000000000000000000000001670B97B5000007C2000000000000000000000000000000000000002500000000neomutt.vim-20241013/tests/color1.rccolor attachment cyan white
color attach_headers white cyan
color body cyan yellow
color bold yellow magenta
color error yellow white
color hdrdefault green yellow
color header blue red
color index magenta black
color index_author blue cyan
color index_collapsed red black
color index_date red green
color index_flags magenta black
color index_label red green
color index_number green white
color index_size green red
color index_subject black blue
color index_tag green red
color index_tags cyan black
color indicator black red
color italic cyan green
color markers magenta white
color message cyan yellow
color normal yellow white
color options black green
color progress magenta blue
color prompt white blue
color quoted white red
color search magenta black
color sidebar_background red green
color sidebar_divider white magenta
color sidebar_flagged white blue
color sidebar_highlight blue cyan
color sidebar_indicator cyan red
color sidebar_new red magenta
color sidebar_ordinary cyan white
color sidebar_spool_file magenta yellow
color sidebar_unread yellow white
color signature white blue
color status magenta blue
color stripe_even green red
color stripe_odd green cyan
color tilde green magenta
color tree white yellow
color underline black red
color warning red yellow
color compose header white green
color compose security_encrypt red black
color compose security_sign yellow red
color compose security_both cyan magenta
color compose security_none blue white
# vim: syn=neomuttrc
07070100000010000081A4000000000000000000000001670B97B50000131B000000000000000000000000000000000000002500000000neomutt.vim-20241013/tests/color2.rccolor normal default default
color normal alertmagenta green
color normal brightcyan lightblack
color normal yellow brightwhite
color normal blue cyan
color normal alertgreen brightred
color normal lightcyan cyan
color normal lightred lightgreen
color normal red lightyellow
color normal brightyellow brightred
color normal alertred lightcyan
color normal alertblack magenta
color normal magenta brightgreen
color normal cyan lightred
color normal red brightyellow
color normal brightwhite lightyellow
color normal blue brightblue
color normal lightgreen brightblue
color normal cyan magenta
color normal white brightmagenta
color normal brightgreen brightwhite
color normal black yellow
color normal lightred brightyellow
color normal brightmagenta green
color normal brightmagenta red
color normal alertmagenta alertmagenta
color normal green lightmagenta
color normal lightblue brightblack
color normal white alertblue
color normal yellow brightblue
color normal brightmagenta lightblue
color normal lightred alertblue
color normal brightred alertgreen
color normal blue alertred
color normal blue lightgreen
color normal alertyellow brightmagenta
color normal brightwhite yellow
color normal brightgreen brightgreen
color normal white brightwhite
color normal brightyellow black
color normal alertyellow lightwhite
color normal brightred brightblack
color normal brightgreen brightblue
color normal cyan alertblack
color normal lightcyan magenta
color normal alertwhite lightblack
color normal alertblue lightred
color normal brightmagenta magenta
color normal green lightblack
color normal alertblack magenta
color normal alertwhite brightblack
color normal color169 color30
color normal color86 color9
color normal color93 color2
color normal color114 color227
color normal color22 color154
color normal color36 color40
color normal color226 color157
color normal color94 color232
color normal color37 color241
color normal color175 color33
color normal color25 color163
color normal color98 color251
color normal color240 color122
color normal color69 color112
color normal color129 color68
color normal color158 color57
color normal color186 color193
color normal color149 color125
color normal color82 color92
color normal color24 color41
color normal color39 color243
color normal color188 color204
color normal color207 color15
color normal color100 color248
color normal color71 color101
color normal color130 color20
color normal color126 color12
color normal color128 color108
color normal color155 color224
color normal color206 color196
color normal color178 color233
color normal color137 color104
color normal color105 color147
color normal color78 color152
color normal color0 color238
color normal color234 color167
color normal color161 color118
color normal color210 color255
color normal color115 color48
color normal color123 color200
color normal color180 color156
color normal color3 color119
color normal color46 color214
color normal color106 color247
color normal color38 color229
color normal color116 color237
color normal color139 color42
color normal color135 color83
color normal color26 color31
color normal color5 color252
color normal #04df26 #f132e2
color normal #eb5a33 #94c613
color normal #fbc38d #94473c
color normal #dce020 #4c190f
color normal #f76e64 #0b652c
color normal #39b749 #bc0d65
color normal #99a592 #81d000
color normal #4ac1d4 #b00100
color normal #fbc7d9 #79b8d8
color normal #b03ea3 #f1e42c
color normal #df7aa8 #8ac4b9
color normal #09451d #b95f1f
color normal #76477b #479f47
color normal #982f36 #37ed0c
color normal #3ae85c #8633cb
color normal #62f465 #4c6270
color normal #62302a #03357d
color normal #2f430e #001d09
color normal #9f7831 #5f83f6
color normal #9266a9 #2db18b
color normal #5639b5 #fa4c1d
color normal #4a9693 #033daa
color normal #a996dd #21bdbd
color normal #3f5606 #608bf4
color normal #f9bfbc #46a49d
color normal #ee5867 #4b9e16
color normal #8363fa #2a3658
color normal #bee8cb #fbc8f4
color normal #3a8168 #617a4b
color normal #1748d0 #27ed87
color normal #a730a7 #93b441
color normal #df5610 #7725e9
color normal #83e1ad #afd578
color normal #7448ad #19cb76
color normal #8882af #ca89a8
color normal #a57e22 #088c89
color normal #1ee407 #f4f618
color normal #f4dbc0 #a02275
color normal #a6c51e #43b891
color normal #be36f2 #83098f
color normal #b32d39 #f84936
color normal #e925f8 #9a8141
color normal #44e20f #6450c4
color normal #fb277f #50d757
color normal #b09904 #b9e7a2
color normal #3eb158 #d4584a
color normal #677a67 #03f82d
color normal #3b84b2 #3ff436
color normal #caaa42 #56b81c
color normal #865817 #fe8d87
# vim: syn=neomuttrc
07070100000011000081A4000000000000000000000001670B97B500000417000000000000000000000000000000000000002500000000neomutt.vim-20241013/tests/color3.rccolor normal red blue
color normal none red blue
color normal normal red blue
color normal bold red blue
color normal italic red blue
color normal reverse red blue
color normal standout red blue
color normal underline red blue
color normal reverse underline red blue
color normal underline standout red blue
color normal reverse italic red blue
color normal underline bold red blue
color normal reverse underline red blue
color normal standout bold red blue
color normal reverse standout red blue
color normal italic bold red blue
color normal reverse underline red blue
color normal underline reverse red blue
color normal underline standout red blue
color normal standout underline red blue
color normal standout italic red blue
color normal italic standout red blue
color normal bold reverse red blue
color normal standout italic red blue
color normal italic reverse red blue
color normal bold italic reverse standout underline red blue
# vim: syn=neomuttrc
07070100000012000081A4000000000000000000000001670B97B500006132000000000000000000000000000000000000002500000000neomutt.vim-20241013/tests/config.rcset abort_backspace = yes
set abort_key = "\g"
set abort_noattach = no
set abort_noattach_regex = "\\<(attach|attached|attachments?)\\>"
set abort_nosubject = ask-yes
set abort_unmodified = yes
set account_command = ""
set alias_file = "/dev/null"
set alias_format = "%3n %f%t %-15a %-56r | %c"
set allow_8bit = yes
set allow_ansi = no
set arrow_cursor = no
set arrow_string = "->"
set ascii_chars = no
set ask_bcc = no
set ask_cc = no
set ask_followup_to = no
set ask_x_comment_to = no
set assumed_charset = ""
set attach_charset = ""
set attach_format = "%u%D%I %t%4n %T%d %> [%.7m/%.10M, %.6e%<C?, %C>, %s] "
set attach_save_dir = "./"
set attach_save_without_prompting = no
set attach_sep = "\n"
set attach_split = yes
set attribution_intro = "On %d, %n wrote:"
set attribution_locale = ""
set attribution_trailer = ""
set autocrypt = no
set autocrypt_acct_format = "%4n %-30a %20p %10s"
set autocrypt_dir = "~/.mutt/autocrypt"
set autocrypt_reply = yes
set auto_edit = no
set auto_subscribe = no
set auto_tag = no
set beep = yes
set beep_new = no
set bounce = ask-yes
set bounce_delivered = yes
set braille_friendly = no
set browser_abbreviate_mailboxes = yes
set browser_sort_dirs_first = no
set catchup_newsgroup = ask-yes
set certificate_file = "~/.mutt_certificates"
set change_folder_next = no
set charset = "utf-8"
set check_mbox_size = no
set check_new = yes
set collapse_all = no
set collapse_flagged = yes
set collapse_unread = yes
set color_directcolor = no
set compose_confirm_detach_first = yes
set compose_format = "-- NeoMutt: Compose [Approx. msg size: %l Atts: %a]%>-"
set compose_show_user_headers = yes
set config_charset = ""
set confirm_append = yes
set confirm_create = yes
set content_type = "text/plain"
set copy = yes
set copy_decode_weed = no
set count_alternatives = no
set crypt_auto_encrypt = no
set crypt_auto_pgp = yes
set crypt_auto_sign = no
set crypt_auto_smime = yes
set crypt_chars = "SPsK "
set crypt_confirm_hook = yes
set crypt_encryption_info = yes
set crypt_opportunistic_encrypt = no
set crypt_opportunistic_encrypt_strong_keys = no
set crypt_protected_headers_read = yes
set crypt_protected_headers_save = no
set crypt_protected_headers_subject = "..."
set crypt_protected_headers_weed = no
set crypt_protected_headers_write = yes
set crypt_reply_encrypt = yes
set crypt_reply_sign = no
set crypt_reply_sign_encrypted = no
set crypt_timestamp = yes
set crypt_use_gpgme = yes
set crypt_use_pka = no
set crypt_verify_sig = yes
set date_format = "!%a, %b %d, %Y at %I:%M:%S%p %Z"
set debug_file = "~/.neomuttdebug"
set debug_level = 1
set default_hook = "~f %s !~P | (~P ~C %s)"
set delete = ask-yes
set delete_untag = yes
set devel_security = no
set digest_collapse = yes
set display_filter = ""
set dsn_notify = ""
set dsn_return = ""
set duplicate_threads = yes
set editor = "/usr/bin/nvim"
set edit_headers = no
set empty_subject = "Re: your mail"
set encode_from = no
set entropy_file = ""
set envelope_from_address = ""
set external_search_command = ""
set fast_reply = no
set fcc_attach = yes
set fcc_before_send = no
set fcc_clear = no
set flag_chars = "*!DdrONon- "
set flag_safe = no
set folder = "~/Mail"
set folder_format = "%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %i"
set followup_to = yes
set followup_to_poster = ask-yes
set force_name = no
set forward_attachments = ask-yes
set forward_attribution_intro = "----- Forwarded message from %f -----"
set forward_attribution_trailer = "----- End forwarded message -----"
set forward_decode = yes
set forward_decrypt = yes
set forward_edit = yes
set forward_format = "[%a: %s]"
set forward_quote = no
set forward_references = no
set from = ""
set from_chars = ""
set gecos_mask = "^[^,]*"
set greeting = ""
set group_index_format = "%4C %M%N %5s %-45.45f %d"
set hdrs = yes
set header = no
set header_cache = ""
set header_cache_backend = ""
set header_cache_compress_level = 0
set header_cache_compress_method = ""
set header_color_partial = no
set help = yes
set hidden_host = no
set hidden_tags = "unread,draft,flagged,passed,replied,attachment,signed,encrypted"
set hide_limited = no
set hide_missing = yes
set hide_thread_subject = yes
set hide_top_limited = no
set hide_top_missing = yes
set history = 10
set history_file = "~/.mutthistory"
set history_format = "%s"
set history_remove_dups = no
set honor_disposition = no
set honor_followup_to = yes
set hostname = "vivo.flatcap.org"
set idn_decode = yes
set idn_encode = yes
set ignore_list_reply_to = no
set imap_authenticators = ""
set imap_check_subscribed = no
set imap_condstore = no
set imap_deflate = yes
set imap_delim_chars = "/."
set imap_fetch_chunk_size = 0
set imap_headers = ""
set imap_idle = no
set imap_keep_alive = 300
set imap_list_subscribed = no
set imap_login = ""
set imap_oauth_refresh_command = ""
set imap_pass = ""
set imap_passive = yes
set imap_peek = yes
set imap_pipeline_depth = 15
set imap_poll_timeout = 15
set imap_qresync = no
set imap_rfc5161 = yes
set imap_send_id = no
set imap_server_noise = yes
set imap_user = ""
set implicit_auto_view = no
set include = ask-yes
set include_encrypted = no
set include_only_first = no
set indent_string = "> "
set index_format = "%4C %Z %{%b %d} %-15.15L (%<l?%4l&%4c>) %s"
set inews = ""
set ispell = "ispell"
set keep_flagged = no
set local_date_header = yes
set mailbox_folder_format = "%2C %<n?%6n& > %6m %i"
set mailcap_path = "~/.mailcap:/usr/share/neomutt/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap"
set mailcap_sanitize = yes
set maildir_check_cur = no
set maildir_field_delimiter = ":"
set maildir_header_cache_verify = yes
set maildir_trash = no
set mail_check = 5
set mail_check_recent = yes
set mail_check_stats = no
set mail_check_stats_interval = 60
set markers = yes
set mark_macro_prefix = "'"
set mark_old = yes
set mask = "!^\\.[^.]"
set mbox = "~/mbox"
set mbox_type = "mbox"
set menu_context = 0
set menu_move_off = yes
set menu_scroll = no
set message_cache_clean = no
set message_cache_dir = ""
set message_format = "%s"
set meta_key = no
set me_too = no
set mh_purge = no
set mh_seq_flagged = "flagged"
set mh_seq_replied = "replied"
set mh_seq_unseen = "unseen"
set mime_forward = no
set mime_forward_decode = no
set mime_forward_rest = yes
set mime_type_query_command = ""
set mime_type_query_first = no
set move = no
set narrow_tree = no
set net_inc = 10
set newsgroups_charset = "utf-8"
set newsrc = "~/.newsrc"
set news_cache_dir = "~/.neomutt"
set news_server = ""
set new_mail_command = ""
set nm_config_file = "auto"
set nm_config_profile = ""
set nm_db_limit = 0
set nm_default_url = ""
set nm_exclude_tags = ""
set nm_flagged_tag = "flagged"
set nm_open_timeout = 5
set nm_query_type = "messages"
set nm_query_window_current_position = 0
set nm_query_window_current_search = ""
set nm_query_window_duration = 0
set nm_query_window_enable = no
set nm_query_window_or_terms = ""
set nm_query_window_timebase = "week"
set nm_record = no
set nm_record_tags = ""
set nm_replied_tag = "replied"
set nm_unread_tag = "unread"
set nntp_authenticators = ""
set nntp_context = 1000
set nntp_listgroup = yes
set nntp_load_description = yes
set nntp_pass = ""
set nntp_poll = 60
set nntp_user = ""
set pager = ""
set pager_context = 0
set pager_format = "-%Z- %C/%m: %-20.20n %s%* -- (%P)"
set pager_index_lines = 0
set pager_read_delay = 0
set pager_skip_quoted_context = 0
set pager_stop = no
set pattern_format = "%2n %-15e %d"
set pgp_auto_decode = no
set pgp_auto_inline = no
set pgp_check_exit = yes
set pgp_check_gpg_decrypt_status_fd = yes
set pgp_clear_sign_command = ""
set pgp_decode_command = ""
set pgp_decryption_okay = ""
set pgp_decrypt_command = ""
set pgp_default_key = ""
set pgp_encrypt_only_command = ""
set pgp_encrypt_sign_command = ""
set pgp_entry_format = "%4n %t%f %4l/0x%k %-4a %2c %u"
set pgp_export_command = ""
set pgp_get_keys_command = ""
set pgp_good_sign = ""
set pgp_ignore_subkeys = yes
set pgp_import_command = ""
set pgp_list_pubring_command = ""
set pgp_list_secring_command = ""
set pgp_long_ids = yes
set pgp_mime_auto = ask-yes
set pgp_reply_inline = no
set pgp_retainable_sigs = no
set pgp_self_encrypt = yes
set pgp_show_unusable = yes
set pgp_sign_as = ""
set pgp_sign_command = ""
set pgp_sort_keys = "address"
set pgp_strict_enc = yes
set pgp_timeout = 300
set pgp_use_gpg_agent = yes
set pgp_verify_command = ""
set pgp_verify_key_command = ""
set pipe_decode = no
set pipe_decode_weed = yes
set pipe_sep = "\n"
set pipe_split = no
set pop_authenticators = ""
set pop_auth_try_all = yes
set pop_check_interval = 60
set pop_delete = ask-no
set pop_host = ""
set pop_last = no
set pop_oauth_refresh_command = ""
set pop_pass = ""
set pop_reconnect = ask-yes
set pop_user = ""
set postpone = ask-yes
set postponed = "~/postponed"
set postpone_encrypt = no
set postpone_encrypt_as = ""
set post_moderated = ask-yes
set preconnect = ""
set preferred_languages = ""
set print = ask-no
set print_command = "lpr"
set print_decode = yes
set print_decode_weed = yes
set print_split = no
set prompt_after = yes
set query_command = ""
set query_format = "%3c %t %-25.25n %-25.25a | %e"
set quit = yes
set quote_regex = "^([ \t]*[|>:}#])+"
set read_inc = 10
set read_only = no
set real_name = ""
set recall = ask-yes
set record = "~/sent"
set reflow_space_quotes = yes
set reflow_text = yes
set reflow_wrap = 78
set reply_regex = "^((re)(\\[[0-9]+\\])*:[ \t]*)*"
set reply_self = no
set reply_to = ask-yes
set reply_with_xorig = no
set resolve = yes
set resume_draft_files = no
set resume_edited_draft_files = yes
set reverse_alias = no
set reverse_name = no
set reverse_real_name = yes
set rfc2047_parameters = yes
set save_address = no
set save_empty = yes
set save_history = 0
set save_name = no
set save_unsubscribed = no
set score = yes
set score_threshold_delete = -1
set score_threshold_flag = 9999
set score_threshold_read = -1
set search_context = 0
set sendmail = "/usr/sbin/sendmail -oem -oi"
set sendmail_wait = 0
set send_charset = "us-ascii:iso-8859-1:utf-8"
set shell = "/bin/bash"
set show_multipart_alternative = ""
set show_new_news = yes
set show_only_unread = no
set sidebar_component_depth = 0
set sidebar_delim_chars = "/."
set sidebar_divider_char = "│"
set sidebar_folder_indent = no
set sidebar_format = "%D%* %n"
set sidebar_indent_string = " "
set sidebar_new_mail_only = no
set sidebar_next_new_wrap = no
set sidebar_non_empty_mailbox_only = no
set sidebar_on_right = no
set sidebar_short_path = no
set sidebar_sort_method = "unsorted"
set sidebar_visible = no
set sidebar_width = 30
set signature = "~/.signature"
set sig_dashes = yes
set sig_on_top = no
set simple_search = "~f %s | ~s %s"
set size_show_bytes = no
set size_show_fractions = yes
set size_show_mb = yes
set size_units_on_left = no
set sleep_time = 1
set smart_wrap = yes
set smileys = "(>From )|(:[-^]?[][)(><}{|/DP])"
set smime_ask_cert_label = yes
set smime_ca_location = ""
set smime_certificates = ""
set smime_decrypt_command = ""
set smime_decrypt_use_default_key = yes
set smime_default_key = ""
set smime_encrypt_command = ""
set smime_encrypt_with = "aes256"
set smime_get_cert_command = ""
set smime_get_cert_email_command = ""
set smime_get_signer_cert_command = ""
set smime_import_cert_command = ""
set smime_is_default = no
set smime_keys = ""
set smime_pk7out_command = ""
set smime_self_encrypt = yes
set smime_sign_as = ""
set smime_sign_command = ""
set smime_sign_digest_alg = "sha256"
set smime_timeout = 300
set smime_verify_command = ""
set smime_verify_opaque_command = ""
set smtp_authenticators = ""
set smtp_oauth_refresh_command = ""
set smtp_pass = ""
set smtp_url = ""
set smtp_user = ""
set socket_timeout = 30
set sort = "date"
set sort_alias = "alias"
set sort_aux = "date"
set sort_browser = "alpha"
set sort_re = yes
set spam_separator = ","
set spool_file = "~/mail/inbox"
set ssl_ca_certificates_file = ""
set ssl_ciphers = ""
set ssl_client_cert = ""
set ssl_force_tls = yes
set ssl_min_dh_prime_bits = 0
set ssl_starttls = yes
set ssl_use_sslv2 = no
set ssl_use_sslv3 = no
set ssl_use_system_certs = no
set ssl_use_tlsv1 = no
set ssl_use_tlsv1_1 = no
set ssl_use_tlsv1_2 = yes
set ssl_use_tlsv1_3 = yes
set ssl_verify_dates = yes
set ssl_verify_host = yes
set ssl_verify_partial_chains = yes
set status_chars = "-*%A"
set status_format = "-%r-NeoMutt: %D [Msgs:%<M?%M/>%m%<n? New:%n>%<o? Old:%o>%<d? Del:%d>%<F? Flag:%F>%<t? Tag:%t>%<p? Post:%p>%<b? Inc:%b>%<l? %l>]---(%<T?%T/>%s/%S)-%>-(%P)---"
set status_on_top = no
set strict_threads = no
set suspend = yes
set text_flowed = no
set thorough_search = yes
set thread_received = no
set tilde = no
set timeout = 600
set time_inc = 0
set tmp_dir = "/tmp"
set toggle_quoted_show_levels = 0
set to_chars = " +TCFLR"
set trash = ""
set ts_enabled = no
set ts_icon_format = "M%<n?AIL&ail>"
set ts_status_format = "NeoMutt with %<m?%m messages&no messages>%<n? [%n NEW]>"
set tunnel = ""
set tunnel_is_secure = yes
set uncollapse_jump = no
set uncollapse_new = yes
set user_agent = no
set use_8bit_mime = no
set use_domain = yes
set use_envelope_from = no
set use_from = yes
set use_ipv6 = yes
set use_threads = "unset"
set virtual_spool_file = no
set wait_key = yes
set weed = yes
set wrap = 0
set wrap_headers = 78
set wrap_search = yes
set write_bcc = no
set write_inc = 10
set x_comment_to = no
# vim: syn=neomuttrc
07070100000013000081A4000000000000000000000001670B97B50000027D000000000000000000000000000000000000002900000000neomutt.vim-20241013/tests/deprecated.rcset mime_subject = yes # DT_BOOL
set cursor_overlay = yes # DT_BOOL
set header_cache_compress = yes # DT_BOOL
set ignore_linear_white_space = yes # DT_BOOL
set mix_entry_format = "xyz" # DT_EXPANDO
set header_cache_pagesize = 1234 # DT_LONG
set pgp_encrypt_self = ask-yes # DT_QUAD
set smime_encrypt_self = ask-yes # DT_QUAD
set escape = "xyz" # DT_STRING
set visual = "xyz" # DT_STRING
set mixmaster = "xyz" # DT_STRING
set vfolder_format = "xyz" # DT_STRING
# vim: syn=neomuttrc
07070100000014000081A4000000000000000000000001670B97B500000753000000000000000000000000000000000000002500000000neomutt.vim-20241013/tests/format.rcset alias_format = "%a %c %f %n %r %t %Y"
set attach_format = "%c %C %d %D %e %f %F %I %m %M %n %Q %s %t %T %u %X"
set autocrypt_acct_format = "%a %k %n %p %s"
set compose_format = "%a %h %l %v"
# append-hook, close-hook, open-hook
set append-hook = "%f %t"
# folder_format, mailbox_folder_format
set folder_format = "%a %C %d %D %f %F %g %i %l %m %n %N %p %s %t %u %["
set greeting = "%n %u %v"
set group_index_format = "%a %C %d %f %M %n %N %p %s"
set history_format = "%C %s"
# index_format, message_format, pager_format
set index_format = "%( %@ %a %A %b %B %c %C %cr %d %D %e %E %f %F %Fp %g %G %H %i %I %J %K %l %L %m %M %n %N %O %P %q %r %R %s %S %t %T %u %v %W %x %X %y %Y %Z %zc %zs %zt %[ %{"
set newsrc = "%a %p %P %s %S %u"
set pattern_format = "%d %e %n"
# pgp_clear_sign_command, pgp_decode_command, pgp_decrypt_command,
# pgp_encrypt_only_command, pgp_encrypt_sign_command, pgp_export_command,
# pgp_get_keys_command, pgp_import_command, pgp_list_pubring_command,
# pgp_list_secring_command, pgp_sign_command, pgp_verify_command,
# pgp_verify_key_command
set pgp_clear_sign_command = "%a %f %p %r %s"
set pgp_entry_format = "%a %A %c %C %f %F %i %I %k %K %l %L %n %p %t %u %["
set query_format = "%a %c %e %n %t %Y"
set sidebar_format = "%! %a %B %d %D %F %L %n %N %o %p %r %S %t %Z"
# smime_decrypt_command, smime_encrypt_command, smime_get_cert_command,
# smime_get_cert_email_command, smime_get_signer_cert_command,
# smime_import_cert_command, smime_pk7out_command, smime_sign_command,
# smime_verify_command, smime_verify_opaque_command
set smime_decrypt_command = "%a %c %C %d %f %i %k %s"
set status_format = "%b %d %D %f %F %h %l %L %m %M %n %o %p %P %r %R %s %S %t %T %u %v %V"
# vim: syn=neomuttrc
07070100000015000081A4000000000000000000000001670B97B500000D96000000000000000000000000000000000000002600000000neomutt.vim-20241013/tests/synonym.rcset abort_noattach_regexp = "" # abort_noattach_regex
set askbcc = "" # ask_bcc
set askcc = "" # ask_cc
set ask_follow_up = "" # ask_followup_to
set attach_keyword = "" # abort_noattach_regex
set attribution = "" # attribution_intro
set autoedit = "" # auto_edit
set confirmappend = "" # confirm_append
set confirmcreate = "" # confirm_create
set connect_timeout = "" # socket_timeout
set crypt_autoencrypt = "" # crypt_auto_encrypt
set crypt_autopgp = "" # crypt_auto_pgp
set crypt_autosign = "" # crypt_auto_sign
set crypt_autosmime = "" # crypt_auto_smime
set crypt_confirmhook = "" # crypt_confirm_hook
set crypt_replyencrypt = "" # crypt_reply_encrypt
set crypt_replysign = "" # crypt_reply_sign
set crypt_replysignencrypted = "" # crypt_reply_sign_encrypted
set edit_hdrs = "" # edit_headers
set envelope_from = "" # use_envelope_from
set forw_decode = "" # forward_decode
set forw_decrypt = "" # forward_decrypt
set forw_format = "" # forward_format
set forw_quote = "" # forward_quote
set hdr_format = "" # index_format
set imap_keepalive = "" # imap_keep_alive
set imap_servernoise = "" # imap_server_noise
set implicit_autoview = "" # implicit_auto_view
set include_onlyfirst = "" # include_only_first
set indent_str = "" # indent_string
set message_cachedir = "" # message_cache_dir
set metoo = "" # me_too
set mime_fwd = "" # mime_forward
set msg_format = "" # message_format
set nm_default_uri = "" # nm_default_url
set pgp_autoencrypt = "" # crypt_auto_encrypt
set pgp_autoinline = "" # pgp_auto_inline
set pgp_autosign = "" # crypt_auto_sign
set pgp_auto_traditional = "" # pgp_reply_inline
set pgp_clearsign_command = "" # pgp_clear_sign_command
set pgp_create_traditional = "" # pgp_auto_inline
set pgp_getkeys_command = "" # pgp_get_keys_command
set pgp_replyencrypt = "" # crypt_reply_encrypt
set pgp_replyinline = "" # pgp_reply_inline
set pgp_replysign = "" # crypt_reply_sign
set pgp_replysignencrypted = "" # crypt_reply_sign_encrypted
set pgp_self_encrypt_as = "" # pgp_default_key
set pgp_verify_sig = "" # crypt_verify_sig
set pop_checkinterval = "" # pop_check_interval
set post_indent_str = "" # post_indent_string
set post_indent_string = "" # attribution_trailer
set print_cmd = "" # print_command
set quote_regexp = "" # quote_regex
set realname = "" # real_name
set reply_regexp = "" # reply_regex
set reverse_realname = "" # reverse_real_name
set skip_quoted_offset = "" # pager_skip_quoted_context
set smime_self_encrypt_as = "" # smime_default_key
set spoolfile = "" # spool_file
set ssl_usesystemcerts = "" # ssl_use_system_certs
set tmpdir = "" # tmp_dir
set use_8bitmime = "" # use_8bit_mime
set virtual_spoolfile = "" # virtual_spool_file
set xterm_icon = "" # ts_icon_format
set xterm_set_titles = "" # ts_enabled
set xterm_title = "" # ts_status_format
# vim: syn=neomuttrc
07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000B00000000TRAILER!!!270 blocks