Initial language pack for atom commit

This commit is contained in:
2018-08-30 08:58:23 +02:00
commit 895edacacf
3 changed files with 57 additions and 0 deletions

1
README.md Normal file
View File

@ -0,0 +1 @@
Prototypical language support for OpenScenarioNext language draft.

View 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: '// '

17
package.json Normal file
View File

@ -0,0 +1,17 @@
{
"version": "0.1.0",
"name": "language-openscenarionext",
"description": "Atom language support for OpenScenarioNext Draft",
"repository": {
"type": "git",
"url": "https://apps.pmsf.net/stash/scm/osn/osn-atom.git"
},
"license": "MIT",
"engines": {
"atom": "*",
"node": "*"
},
"dependencies": {
"openscenarionext-grammar": "^0.1.0"
}
}