Files
OSN-Atom/grammars/openscenarionext.cson

40 lines
699 B
Plaintext

name: 'OpenScenarioNext'
scopeName: 'source.openscenarionext'
type: 'tree-sitter'
parser: 'openscenarionext-grammar'
fileTypes: [
'osn'
]
scopes:
'source_file': 'source.openscenarionext'
'comment': 'comment.block'
'"Scenario"': 'keyword.control'
'"Act"': 'keyword.control'
'"Prototypes"': 'keyword.control'
'"Resources"': 'keyword.control'
'string_literal': 'string.quoted.double'
'numeric_literal': 'constant.numeric.decimal'
'function_application > identifier': 'entity.name.function'
'record_expr > identifier:nth-child(2)': 'variable.other.member'
folds: [
{
type: 'comment'
}
{
type: 'scenario'
}
{
type: 'act'
}
]
comments:
start: '// '