! Syntax Highlighting Patterns for mutt configuration files ! ! Use this pattern by starting NEdit with: ! ! nedit -import mutt-1.1vk.pats ! ! If you want to keep the patterns permanently, you have to save your ! preferences by choosing 'Save Defaults' from the Preferences menu. ! ! Download: ! http://volker.top.geek.nz/soft/nedit/ ! and perhaps: ! ftp://ftp.nedit.org/pub/NEdit/contrib/highlighting/ ! ! Copyright 20?? Thorsten Haude ! Modifications by Volker Kuhlmann are ! ! Copyright (C) by Volker Kuhlmann , ! Released under the same license as NEdit itself, ! or, at your option, under the GNU General Public Licence, Version 2. nedit.languageModes: \ Mutt:.muttrc mutt.rc .mutt:"((un)?(my_hdr|ignore)|ask-(yes|no)|(fcc-save|folder)-hook|~/Mail/.*/muttrc[_/]|^set (record|folder|from|sendmail)=[""'])":None::::: nedit.highlightPatterns: \ Mutt:1:0{\n\ README:"Mutt Configuration File syntax highlighting patterns, version 1.1vk, maintainer Thorsten Haude, nedit at thorstenhau.de":::Warning::\n\ comment:"#":"$"::Comment::\n\ var:"<(?:(?:un|re)?set|toggle)\\s+(\\w*)(?:=(.*))?>":::Keyword::\n\ var name:"\\1":""::Text Key:var:C\n\ var value:"\\2":""::Text Key1:var:C\n\ hook:"(?:folder|send2?|fcc-save|save|message|account|charset|iconv|mbox|reply|crypt|open|close|append)-hook\\s+('[^']*'|""[^""]*""|[^\\s]+)\\s+(.*)":::Keyword::\n\ hook regex:"\\1":""::Text Arg1:hook:C\n\ hook command:"\\2":""::Text Arg2:hook:C\n\ my_hdr:"^\\s*my_hdr\\s+([-\\w]+:)\\s+(.*)":::Keyword::\n\ my_hdr header:"\\1":""::Text Arg1:my_hdr:C\n\ my_hdr value:"\\2":""::Text Arg2:my_hdr:C\n\ alias:"alias\\s+([-_.+\\d\\w]+)\\s+(.*)":::Keyword::\n\ alias key:"\\1":""::Storage Type1:alias:C\n\ alias address:"\\2":""::Identifier:alias:C\n\ color:"color\\s+(\\w+)\\s+((\\w+)\\s+(\\w+))(\\s+([^#]*))?":::Keyword::\n\ color object:"\\1":""::Text Arg:color:C\n\ color foreground:"\\3":""::Text Arg1:color:C\n\ color background:"\\4":""::Text Arg2:color:C\n\ color regex:"\\5":""::Text Key1:color:C\n\ mono:"mono\\s+(\\w+)\\s+(\\w+)(\\s+([^#]*))?":::Keyword::\n\ mono object:"\\1":""::Text Arg:mono:C\n\ mono attribute:"\\2":""::Text Arg1:mono:C\n\ mono regex:"\\3":""::Text Key1:mono:C\n\ source:"source\\s+(\\S+)":::Keyword::\n\ source file:"\\1":""::String:source:C\n\ mailboxes:"^\\s*(?:(?:un)?mailboxes|unhook)\\s+(.*)$":::Keyword::\n\ mailboxes value:"\\1":""::Text Arg2:mailboxes:C\n\ simple statement:"^\\s*((?:un)?(?:hdr_order|ignore)|unmy_hdr)\\s+(.*)$":::Keyword::D\n\ simple statement parameter:"\\2":""::Text Arg:simple statement:DC\n\ } !nedit.styles: ! ChangeLog: ! Jun 2006, 10 Sep 2006: Volker Kuhlmann, NEdit 5.5 ! - added more keywords, and legal characters to identifiers ! - unhandled problem: line continuation with \\n, e.g. ! fcc-save-hook (\ ! xxxxxxxxx) +xxxxxxxxx ! ! 30 Mar 2008: Volker Kuhlmann, NEdit 5.5 ! - Add missing hooks, unmy_hdr, unmailbox, unhook