Skip to content

Commit

Permalink
Escape dollar
Browse files Browse the repository at this point in the history
The following warning appeared in the console after installing your extension:

> The "region"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.

It appears the dollar sign in one of the snippets wasn't escaped, this PR fixes that.
  • Loading branch information
idleberg authored Jun 27, 2017
1 parent 43a14cf commit 9118bbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snippets/pascal.json
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,9 @@
"region": {
"prefix": "region",
"body": [
"{$REGION '${1:MyRegion}'}",
"{\\$REGION '${1:MyRegion}'}",
"\t$0",
"{$ENDREGION}"
"{\\$ENDREGION}"
],
"description": "region"
},
Expand Down

0 comments on commit 9118bbe

Please sign in to comment.