From 39c1e6704a58cb160d4f6b03215dffc819774f1c Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 29 Oct 2022 10:01:25 +0900 Subject: [PATCH] vscode: fix invalid examples --- modules/programs/vscode.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/programs/vscode.nix b/modules/programs/vscode.nix index 443e623bc..27faf39bc 100644 --- a/modules/programs/vscode.nix +++ b/modules/programs/vscode.nix @@ -82,7 +82,7 @@ in { default = { }; example = literalExpression '' { - "files.autoSave" = "off" + "files.autoSave" = "off"; "[nix]"."editor.tabSize" = 2; } ''; @@ -97,14 +97,14 @@ in { default = { }; example = literalExpression '' { - "version": "2.0.0", - "tasks": [ + version = "2.0.0"; + tasks = [ { - "type": "shell", - "label": "Hello task", - "command": "hello", + type = "shell"; + label = "Hello task"; + command = "hello"; } - ] + ]; } ''; description = ''