From f05b84878c41702c8fb17b5f1212734e27b81afd Mon Sep 17 00:00:00 2001 From: Matheus Richard Date: Fri, 17 Apr 2020 22:01:11 -0300 Subject: [PATCH 1/2] Update block snippets --- snippets/crystal.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snippets/crystal.json b/snippets/crystal.json index 849efbe..6708ce1 100644 --- a/snippets/crystal.json +++ b/snippets/crystal.json @@ -326,7 +326,7 @@ "description": "Create an inline block" }, "block do": { - "prefix": "d", + "prefix": "do", "body": [ "do", "\t$0", @@ -335,7 +335,7 @@ "description": "Create a block without arguments" }, "block do with args": { - "prefix": "do", + "prefix": "dop", "body": [ "do |$1|", "\t$0", From 7f3ade3f62bd9fd26692f4a24b0da69027af931e Mon Sep 17 00:00:00 2001 From: Matheus Richard Date: Fri, 17 Apr 2020 22:13:06 -0300 Subject: [PATCH 2/2] Update code snippets for ecr and slang --- snippets/ecr.json | 4 ++-- snippets/slang.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/snippets/ecr.json b/snippets/ecr.json index 9cda8ee..a915be7 100644 --- a/snippets/ecr.json +++ b/snippets/ecr.json @@ -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", @@ -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", diff --git a/snippets/slang.json b/snippets/slang.json index 8057f5a..b68e76f 100644 --- a/snippets/slang.json +++ b/snippets/slang.json @@ -81,7 +81,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" @@ -89,7 +89,7 @@ "description": "Create a block without arguments" }, "block do with args": { - "prefix": "do", + "prefix": "dop", "body": [ "- ${1:array}.each do |$2|", "\t$0"