Initial language pack for atom commit
This commit is contained in:
39
grammars/openscenarionext.cson
Normal file
39
grammars/openscenarionext.cson
Normal file
@ -0,0 +1,39 @@
|
||||
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: '// '
|
||||
Reference in New Issue
Block a user