Skip to content

Commit

Permalink
add(+): changes in snippets and new realease
Browse files Browse the repository at this point in the history
  • Loading branch information
lucianobajr committed Jul 5, 2023
1 parent 7d65bf7 commit 9acff19
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "endurance",
"displayName": "endurance",
"description": "🏴‍☠️ endurance is pirate programming language",
"version": "0.1.7",
"version": "0.1.8",
"publisher": "endurance",
"icon": "icon.png",
"galleryBanner": {
Expand Down
12 changes: 5 additions & 7 deletions snippets/endurance.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"for": {
"prefix": "for",
"body": [
"voyage (jib $1 = 0; $1 < $2; $1++) ⚓️",
"voyage ($1 = 0; $1 < $2; $1 = $1 + 1) ⚓️",
"\t$3",
"⚓️;"
],
Expand All @@ -29,10 +29,10 @@
"description": "Snippet for if else statement",
"body": [
"spyglass (${condition}) ⚓️",
"\t${1:// code to be executed if the condition is true}",
"\t${1: /ahoy code to be executed if the condition is true belay/ }",
"⚓️;",
"parley ⚓️",
"\t${2:// code to be executed if the condition is false}",
"\t${2: /ahoy code to be executed if the condition is false belay/ }",
"⚓️;"
]
},
Expand All @@ -57,17 +57,15 @@
"description": "Snippet for while loop",
"body": [
"squall (${condition}) ⚓️",
"\t${1:/ahoy belay/}",
"\t${1: /ahoy belay/ }",
"⚓️;"
]
},
"main": {
"prefix": "main",
"body": [
"inport",
"",
"jib oggin() ⚓️",
"\t${1:/ahoy belay/ }",
"\t${1: /ahoy belay/ }",
"\tland_ho 0;",
"⚓️;"
],
Expand Down

0 comments on commit 9acff19

Please sign in to comment.