123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- {
- "illegal": "\\S",
- "contains": [
- {
- "className": "comment",
- "begin": "\\(\\*",
- "end": "\\*\\)",
- "contains": [
- {
- "begin": "\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"
- },
- {
- "className": "doctag",
- "begin": "(?:TODO|FIXME|NOTE|BUG|XXX):",
- "relevance": 0
- }
- ]
- },
- {
- "className": "attribute",
- "begin": "^[ ]*[a-zA-Z][a-zA-Z\\-_]*([\\s\\-_]+[a-zA-Z][a-zA-Z]*)*"
- },
- {
- "begin": "=",
- "end": "[.;]",
- "contains": [
- {
- "$ref": "#contains.0"
- },
- {
- "className": "meta",
- "begin": "\\?.*\\?"
- },
- {
- "className": "string",
- "variants": [
- {
- "className": "string",
- "begin": "'",
- "end": "'",
- "illegal": "\\n",
- "contains": [
- {
- "begin": "\\\\[\\s\\S]",
- "relevance": 0
- }
- ]
- },
- {
- "className": "string",
- "begin": "\"",
- "end": "\"",
- "illegal": "\\n",
- "contains": [
- {
- "$ref": "#contains.2.contains.2.variants.0.contains.0"
- }
- ]
- },
- {
- "begin": "`",
- "end": "`"
- }
- ]
- }
- ]
- }
- ]
- }
|