update inbox list
This commit is contained in:
81
vendor/scrivo/highlight.php/Highlight/languages/thrift.json
vendored
Normal file
81
vendor/scrivo/highlight.php/Highlight/languages/thrift.json
vendored
Normal file
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"keywords": {
|
||||
"keyword": "namespace const typedef struct enum service exception void oneway set list map required optional",
|
||||
"built_in": "bool byte i16 i32 i64 double string binary",
|
||||
"literal": "true false"
|
||||
},
|
||||
"contains": [
|
||||
{
|
||||
"className": "string",
|
||||
"begin": "\"",
|
||||
"end": "\"",
|
||||
"illegal": "\\n",
|
||||
"contains": [
|
||||
{
|
||||
"begin": "\\\\[\\s\\S]",
|
||||
"relevance": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"className": "number",
|
||||
"begin": "\\b\\d+(\\.\\d+)?",
|
||||
"relevance": 0
|
||||
},
|
||||
{
|
||||
"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": "comment",
|
||||
"begin": "\/\\*",
|
||||
"end": "\\*\/",
|
||||
"contains": [
|
||||
{
|
||||
"$ref": "#contains.2.contains.0"
|
||||
},
|
||||
{
|
||||
"className": "doctag",
|
||||
"begin": "(?:TODO|FIXME|NOTE|BUG|XXX):",
|
||||
"relevance": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"className": "class",
|
||||
"beginKeywords": "struct enum service exception",
|
||||
"end": "\\{",
|
||||
"illegal": "\\n",
|
||||
"contains": [
|
||||
{
|
||||
"className": "title",
|
||||
"begin": "[a-zA-Z]\\w*",
|
||||
"relevance": 0,
|
||||
"starts": {
|
||||
"endsWithParent": true,
|
||||
"excludeEnd": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"begin": "\\b(set|list|map)\\s*<",
|
||||
"end": ">",
|
||||
"keywords": "bool byte i16 i32 i64 double string binary",
|
||||
"contains": [
|
||||
"self"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user