Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Commit

Permalink
keeping up with scarpet
Browse files Browse the repository at this point in the history
  • Loading branch information
ImUrX committed Aug 17, 2020
1 parent c6a3d2b commit 2517864
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 48 deletions.
44 changes: 13 additions & 31 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,18 @@
// A launch configuration that compiles the extension and then opens it inside a new window
// A launch configuration that launches the extension inside a new window
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
"version": "0.2.0",
"configurations": [
{
"name": "Run Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"preLaunchTask": "${defaultBuildTask}"
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
],
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
],
"preLaunchTask": "${defaultBuildTask}"
}
]
}
"configurations": [
{
"name": "Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
]
}
]
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to the "scarpet" extension will be documented in this file.

## [0.1.7] - 2020-08-17
### Added
- Support for curly and square brackets

## [0.1.6] - 2020-04-05
### Added
- Support for .scl files
Expand Down
14 changes: 0 additions & 14 deletions icon-theme.json

This file was deleted.

4 changes: 3 additions & 1 deletion language-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
"autoCloseBefore": ";:.,=) \n\t",
"surroundingPairs": [
["(", ")"],
["'", "'"]
["'", "'"],
["[", "]"],
["{", "}"]
],
"folding": {
"markers": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"bugs": {
"url": "https://github.com/ImUrX/vscode-scarpet/issues"
},
"version": "0.1.6",
"version": "0.1.7",
"engines": {
"vscode": "^1.43.0"
},
Expand Down
55 changes: 54 additions & 1 deletion syntaxes/scarpet.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
},
{
"include": "#paren-expression"
},
{
"include": "#square-expression"
},
{
"include": "#curly-expression"
}
]
},
Expand Down Expand Up @@ -169,7 +175,54 @@
}
},
"name": "expression.group",
"patterns": [{
"patterns": [
{
"include": "#expression"
},
{
"include": "#statements"
}
]
},
"curly-expression": {
"begin": "\\{",
"end": "\\}",
"beginCaptures": {
"0": {
"name": "punctuation.curly.open"
}
},
"endCaptures": {
"0": {
"name": "punctuation.curly.close"
}
},
"name": "expression.group",
"patterns": [
{
"include": "#expression"
},
{
"include": "#statements"
}
]
},
"square-expression": {
"begin": "\\[",
"end": "\\]",
"beginCaptures": {
"0": {
"name": "punctuation.square.open"
}
},
"endCaptures": {
"0": {
"name": "punctuation.square.close"
}
},
"name": "expression.group",
"patterns": [
{
"include": "#expression"
},
{
Expand Down

0 comments on commit 2517864

Please sign in to comment.