! Syntax Highlighting Patterns for mutt configuration files ! ! Use this pattern by starting NEdit with: ! ! nedit -import mutt-1.0vk.pats ! ! If you want to keep the patterns permanently, you have to save your ! preferences by choosing 'Save Defaults' from the Preferences menu. ! ! Copyright 20?? Thorsten Haude ! Modified by Volker Kuhlmann ! nedit.languageModes: \ Mutt:.muttrc mutt.rc .mutt:"(my_hdr|ask-yes|ask-no|fcc-save-hook|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.0vk, 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|send|fcc-save|save)-hook\\s+('[^']*'|""[^""]*""|[^\\s]+)\\s+(.*)":::Keyword::\n\ hook regex:"\\1":""::Text Arg1:hook:C\n\ hook command:"\\2":""::Text Arg2:hook:C\n\ my_hdr:"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*mailboxes\\s+(.*)$":::Keyword::\n\ mailboxes value:"\\1":""::Text Arg2:mailboxes:C\n\ simple statement:"^\\s*(?:un)?(hdr_order|ignore)\\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 !