Skip to content

Commit

Permalink
Update code snippets for ecr and slang
Browse files Browse the repository at this point in the history
  • Loading branch information
MatheusRich committed Apr 18, 2020
1 parent f05b848 commit 7f3ade3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions snippets/ecr.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"description": "A case is a control expression which functions a bit like pattern matching."
},
"block do": {
"prefix": "d",
"prefix": "do",
"body": [
"<% ${1:array}.each do %>",
"\t$0",
Expand All @@ -120,7 +120,7 @@
"description": "Create a block without arguments"
},
"block do with args": {
"prefix": "do",
"prefix": "dop",
"body": [
"<% ${1:array}.each do |$2| %>",
"\t$0",
Expand Down
4 changes: 2 additions & 2 deletions snippets/slang.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@
"description": "A case is a control expression which functions a bit like pattern matching."
},
"block do": {
"prefix": "d",
"prefix": "do",
"body": [
"- ${1:array}.each do",
"\t$0"
],
"description": "Create a block without arguments"
},
"block do with args": {
"prefix": "do",
"prefix": "dop",
"body": [
"- ${1:array}.each do |$2|",
"\t$0"
Expand Down

0 comments on commit 7f3ade3

Please sign in to comment.