Skip to content

Commit

Permalink
bugfix: define hash as comment in zss
Browse files Browse the repository at this point in the history
  • Loading branch information
wily-coyote committed Nov 15, 2024
1 parent e898c12 commit bebfc2a
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 5 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ This extension contributes the following settings:

## Release Notes

### [2.0.2] - 15-11-2024

- Comment shortcut now inserts hash character properly in ZSS

### [2.0.1] - 13-11-2024

- Cleaned up code
Expand Down
2 changes: 1 addition & 1 deletion language-configuration.json → languages/cns.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
["\"", "\""],
["'", "'"]
]
}
}
28 changes: 28 additions & 0 deletions languages/zss.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"comments": {
// symbol used for single line comment. Remove this entry if your language does not support line comments
"lineComment": "#"
},
// symbols used as brackets
"brackets": [
["{", "}"],
["[", "]"],
["(", ")"]
],
// symbols that are auto closed when typing
"autoClosingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"]
],
// symbols that can be used to surround a selection
"surroundingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"]
]
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "mugen-vscode",
"displayName": "MUGEN",
"description": "VSCode support for MUGEN, a fighting game engine",
"version": "2.0.1",
"version": "2.0.2",
"license": "GPLv3",
"repository": "https://github.com/wily-coyote/mugen-vscode",
"engines": {
Expand All @@ -27,7 +27,7 @@
".cns",
".st"
],
"configuration": "./language-configuration.json"
"configuration": "./languages/cns.json"
},
{
"id": "air",
Expand All @@ -38,7 +38,7 @@
"extensions": [
".air"
],
"configuration": "./language-configuration.json"
"configuration": "./languages/cns.json"
},
{
"id": "zss",
Expand All @@ -49,7 +49,7 @@
"extensions": [
".zss"
],
"configuration": "./language-configuration.json"
"configuration": "./languages/zss.json"
}
],
"grammars": [
Expand Down

0 comments on commit bebfc2a

Please sign in to comment.