From 74ceb43c602a35c23e0beb23323524247fd432ff Mon Sep 17 00:00:00 2001 From: jimoj Date: Tue, 18 Apr 2023 16:38:44 +0200 Subject: [PATCH] Update util.ts Adding one more line break, avoid the error on adding new schema over the deafult file, which now is super positioning the paths part. --- src/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.ts b/src/util.ts index 174e911a0..5c484512b 100644 --- a/src/util.ts +++ b/src/util.ts @@ -112,7 +112,7 @@ export async function processSnippetParameters( ) { if (parameters.dropLine) { const edit = new vscode.WorkspaceEdit(); - edit.insert(editor.document.uri, parameters.location, "\n"); + edit.insert(editor.document.uri, parameters.location, "\n\n"); await vscode.workspace.applyEdit(edit); parameters.location = new vscode.Position(parameters.location.line + 1, 0); } else if (brackets) {