Skip to content

Commit ca87d47

Browse files
committed
style(control.json): Update control structure snippets' prefixes with 'end' form for consistency
Remove the 'd' at prefixes end to look like those in loop snippets (consistency)
1 parent 2566453 commit ca87d47

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

snippets/control.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"If ... endif": {
3-
"prefix": "ifend",
3+
"prefix": "ifen",
44
"body": [
55
"if (${1:condition}):",
66
"\t${0:# code...}",
@@ -9,7 +9,7 @@
99
"description": "If endif block"
1010
},
1111
"If ... else ... endif": {
12-
"prefix": "ifelend",
12+
"prefix": "ifelen",
1313
"body": [
1414
"if (${1:condition}):",
1515
"\t${2:# code...}",
@@ -20,7 +20,7 @@
2020
"description": "If else endif block"
2121
},
2222
"If ... elseif ... else ... endif": {
23-
"prefix": "ifelifend",
23+
"prefix": "ifelifen",
2424
"body": [
2525
"if (${1:condition}):",
2626
"\t${2:# code...}",

0 commit comments

Comments
 (0)