Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (38 sloc) 1.12 KB
{ "name": "DRAMA",
"scopeName": "source.dra",
"fileTypes": ["dra"],
"patterns": [
{ "match": "\\|(.*)",
"name": "comment.dra",
"comment": "Comment"
},
{ "match": "\\b(R[0-9])\\b",
"name": "constant.language.dra",
"comment": "Registers R0-R9"
},
{ "match": "\\b(HIA|OPT|AFT|BIG|VER|VGL|VSP|SPR|DEL|MOD|RESGR|SBR|BST|HST)\\b",
"name": "keyword.dra",
"comment": "Keywords"
},
{ "match": "\\b(NUL|NNUL|POS|NPOS|NEG|NNEG|GEL|NGEL|GRG|GR|KL|KLG)\\b",
"name": "keyword.dra",
"comment": "Comparison variables"
},
{ "match": "\\b(LEZ|DRU|STP|EINDPR|DRS|NWL|KTG)\\b",
"name": "entity.name.function.dra",
"comment": "Special keywords without parameters"
},
{ "match": "[-+]?\\b\\d+\\b",
"name": "variable.parameter.dra",
"comment": "Constant numeric"
},
{ "match": "(\\w.*(?=:))|([a-zA-Z0-9_]+(?=\\n))|([a-zA-Z0-9_]+)(?=( *\\||\\())|(?<!\\.)([a-zA-Z0-9_]+)(?=( *))",
"name": "string.dra",
"captures": {
"1": { "name": "string.dra" }
},
"comment": "String highlighting"
}
],
"uuid": "b82b89af-334e-46b5-aaff-1858275ccff1"
}