Skip to content

Commit

Permalink
Added language-config for yolol, to improve vscode-integration
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaumgarten committed Nov 30, 2020
1 parent d9cdc85 commit f54cd3d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
6 changes: 4 additions & 2 deletions vscode-yolol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,15 @@
"id": "yolol",
"extensions": [
".yolol"
]
],
"configuration": "./syntaxes/yolol-config.json"
},
{
"id": "nolol",
"extensions": [
".nolol"
]
],
"configuration": "./syntaxes/yolol-config.json"
}
],
"grammars": [
Expand Down
25 changes: 25 additions & 0 deletions vscode-yolol/syntaxes/yolol-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"comments": {
"lineComment": "//"
},
"brackets": [
[
"(",
")"
]
],
"autoClosingPairs": [
{
"open": "(",
"close": ")"
},
{
"open": "\"",
"close": "\"",
"notIn": [
"string"
]
}
],
"wordPattern": "[A-Za-z0-9_:]+"
}

0 comments on commit f54cd3d

Please sign in to comment.