Skip to content

Commit 141a5d9

Browse files
authored
fix: clean up typos in snippet bodies (rafamadriz#499)
1 parent 488147c commit 141a5d9

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

snippets/PowerShell.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
"description": "reversed for loop snippet",
133133
"body": [
134134
"for ($${1:i} = $${2:array}.Count - 1; $${1:i} -ge 0 ; $${1:i}--) {",
135-
"\t${0:${$TM_SELECTED_TEXT}}",
135+
"\t${0:${TM_SELECTED_TEXT}}",
136136
"}"
137137
]
138138
},

snippets/cobol/vscode_cobol_jcl.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"//SYSUT1 DD *",
5252
"${3}",
5353
"/*",
54-
"//SYSUT2 DD DISP=NEW,DSN=${4:A.B.C)",
54+
"//SYSUT2 DD DISP=NEW,DSN=${4:A.B.C}",
5555
"//SYSPRINT DD SYSOUT=*",
5656
"$0"
5757
],

snippets/csharp/csharpdoc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@
3535
"<exception>": {
3636
"prefix": "<exception>",
3737
"body": [
38-
"<exception cref=\"${1]:ExceptionName}\">${2:description.}$0</exception>"
38+
"<exception cref=\"${1:ExceptionName}\">${2:description.}$0</exception>"
3939
],
4040
"description": "This tag provides a way to document the exceptions a method can throw. cref=\"member\" is the name of the exceptionh, which should be a member. The documentation generator checks that the given member exists and translates member to the canonical element name in the documentation file. Description is a description of the circumstances in which the exception is thrown."
4141
},
4242
"<include>": {
4343
"prefix": "<include>",
4444
"body": [
45-
"<include file=\"${1]:filename}\" path=\"${2:xpath}\"/>$0"
45+
"<include file=\"${1:filename}\" path=\"${2:xpath}\"/>$0"
4646
],
4747
"description": "This tag allows including information from an XML document that is external to the source code file. The external file must be a well-formed XML document, and an XPath expression is applied to that document to specify what XML from that document to include. The <include> tag is then replaced with the selected XML from the external document. Note this is a self closing tag."
4848
},

snippets/fortran.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@
249249
},
250250
"max": {
251251
"prefix": "max",
252-
"body": "max($1, $2${, $3:...})$0",
252+
"body": "max($1, $2, ${3:...})$0",
253253
"description": "max",
254254
"scope": "source.fortran"
255255
},
@@ -267,7 +267,7 @@
267267
},
268268
"min": {
269269
"prefix": "min",
270-
"body": "min($1, $2${, $3:...})$0",
270+
"body": "min($1, $2, ${3:...})$0",
271271
"description": "min",
272272
"scope": "source.fortran"
273273
},

snippets/gdscript.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120

121121
"element in array": {
122122
"prefix": "in",
123-
"body": ["${1:element} in ${$2:array}"]
123+
"body": ["${1:element} in ${2:array}"]
124124
},
125125

126126
"GDScript template": {

snippets/objc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@
282282
},
283283
"Block field": {
284284
"prefix": "fieldblock",
285-
"body": [":(${1:void} (^${2:nullability}) (${3:parameters}))${4:name)"],
285+
"body": [":(${1:void} (^${2:nullability}) (${3:parameters}))${4:name}"],
286286
"description": "Create a block field"
287287
},
288288
"Block typedef": {

0 commit comments

Comments
 (0)