Initial language pack for atom commit
This commit is contained in:
1
README.md
Normal file
1
README.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
Prototypical language support for OpenScenarioNext language draft.
|
||||||
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: '// '
|
||||||
17
package.json
Normal file
17
package.json
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user