diff --git a/Contents/Language Modules/toml.plist b/Contents/Language Modules/toml.plist index 34df987..66614f6 100644 --- a/Contents/Language Modules/toml.plist +++ b/Contents/Language Modules/toml.plist @@ -1,82 +1,139 @@ - - BBEditDocumentType - CodelessLanguageModule - BBLMColorsSyntax - - BBLMIsCaseSensitive - - BBLMKeywords - - - RunKind - com.barebones.bblm.predefined-symbol + + BBEditDocumentType + CodelessLanguageModule - Keywords - - true - false - - - + BBLMColorsSyntax + - BBLMKeywordPatterns - - - RunKind - com.barebones.bblm.sgml-tag + BBLMIsCaseSensitive + - Pattern - ^\[.*\]$ - - + BBLMKeywords + + + RunKind + com.barebones.bblm.predefined-symbol - BBLMSuffixMap - - - BBLMLanguageSuffix - .toml - - - BBLMLanguageSuffix - .lock - - + Keywords + + true + false + + + - BBLMLanguageCode - TOML - BBLMLanguageDisplayName - TOML - BBLMScansFunctions - - Language Features - - Close Strings 1 - ' - Close Strings 2 - " - End-of-line Ends Strings 1 - - End-of-line Ends Strings 2 - - Escape Char in Strings 1 - \ - Escape Char in Strings 2 - \ - Identifier and Keyword Characters - 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_.-abcdefghijklmnopqrstuvwxyz[] - Open Line Comments - # - Open Parameter Lists - { - Open Statement Blocks - { - Open Strings 1 - ' - Open Strings 2 - " - - + BBLMKeywordPatterns + + + RunKind + com.barebones.bblm.sgml-tag + + Pattern + ^\[.*\]$ + + + + BBLMSuffixMap + + + BBLMLanguageSuffix + .toml + + + BBLMLanguageSuffix + .lock + + + + BBLMLanguageCode + TOML + + BBLMLanguageDisplayName + TOML + + BBLMScansFunctions + + + Language Features + + Close Strings 1 + ' + + Close Strings 2 + " + + End-of-line Ends Strings 1 + + + End-of-line Ends Strings 2 + + + Escape Char in Strings 1 + \ + + Escape Char in Strings 2 + \ + + Identifier and Keyword Characters + 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_.-abcdefghijklmnopqrstuvwxyz[] + + Open Line Comments + # + + Open Parameter Lists + { + + Open Statement Blocks + { + + Open Strings 1 + ' + + Open Strings 2 + " + + Comment Pattern + [\#] .* $ ) + )]]> + + Skip Pattern + + (?P>comment) | + (?P>string) + ) + )]]> + + String Pattern + """ (?s: \\. | [^"] )*? (?: """ ) ) | + (?> ''' (?s: . )*? (?: ''' ) ) | + (?> " (?s: \\. | [^"] )*? (?: " ) ) | + (?> ' (?s: [^'] )*? (?: ' ) ) | + + (?> + \d{4} - \d{2} - \d{2} + (?: T + \d{2} : \d{2} : \d{2} (?: \. \d+ )? + (?: Z | ([+-]) \d{2} : \d{2} )? + )? + ) + )]]> + + Function Pattern + + \[ + (?P + (\[* [\w/._-]+ \]*) + ) + \] + ) + )]]> + +