diff --git a/package.json b/package.json index 7f11187..3c4cef0 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/snippets/endurance.json b/snippets/endurance.json index 0e4ed1d..874a9c2 100644 --- a/snippets/endurance.json +++ b/snippets/endurance.json @@ -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", "⚓️;" ], @@ -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/ }", "⚓️;" ] }, @@ -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;", "⚓️;" ],