Add SubFolders to MBSync conf mode

This commit is contained in:
Tom Willemse 2017-11-13 13:37:54 -08:00
parent 888627cd2e
commit faf071ad5a

View file

@ -28,19 +28,54 @@
;;;###autoload
(define-generic-mode mbsync-conf-mode
'(?#)
'("Path" "MaxSize" "MapInbox" "Flatten" "Trash" "TrashNewOnly"
"TrashRemoteNew" "AltMap" "Inbox" "InfoDelimiter" "Host" "Port" "User"
"Pass" "PassCmd" "Tunnel" "AuthMechs" "SSLType" "SSLVersions"
"SystemCertificates" "CertificateFile" "PipelineDepth" "Account"
"UseNamespace" "PathDelimiter" "Master" "Slave" "Pattern" "Patterns"
"MaxMessages" "ExpireUnread" "Sync" "Create" "Remove" "Expunge"
"CopyArrivalDate" "SyncState" "Channels" "FSync" "FieldDelimiter"
"BufferLimit")
'("Path"
"MaxSize"
"MapInbox"
"Flatten"
"Trash"
"TrashNewOnly"
"TrashRemoteNew"
"AltMap"
"Inbox"
"InfoDelimiter"
"Host"
"Port"
"User"
"Pass"
"PassCmd"
"Tunnel"
"AuthMechs"
"SSLType"
"SSLVersions"
"SystemCertificates"
"CertificateFile"
"PipelineDepth"
"Account"
"UseNamespace"
"PathDelimiter"
"Master"
"Slave"
"Pattern"
"Patterns"
"MaxMessages"
"ExpireUnread"
"Sync"
"Create"
"Remove"
"Expunge"
"CopyArrivalDate"
"SyncState"
"Channels"
"FSync"
"FieldDelimiter"
"BufferLimit"
"SubFolders")
`((,(rx (or "MaildirStore" "IMAPAccount" "IMAPStore" "Channel" "Group"))
(0 font-lock-keyword-face)
(".*" nil nil (0 font-lock-type-face)))
(,(rx (or "yes" "no" "None" "STARTTLS" "IMAPS" "SSLv2" "SSLv3" "Pull" "Push"
"New" "ReNew" "Delete" "Flags" "All" "Master" "Slave" "Both"))
"New" "ReNew" "Delete" "Flags" "All" "Master" "Slave" "Both"
"Verbatim" "Maildir++" "Legacy"))
. font-lock-constant-face))
'("\\.mbsyncrc\\'")
nil