From 51b688ed7df7bad161f612b639cd41d389d0ff01 Mon Sep 17 00:00:00 2001 From: Frost-Phoenix <67cyril6767@gmail.com> Date: Thu, 28 Mar 2024 09:04:08 +0100 Subject: [PATCH] update vscodium config --- modules/home/vscodium/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/home/vscodium/default.nix b/modules/home/vscodium/default.nix index f8596f4..693b3d6 100644 --- a/modules/home/vscodium/default.nix +++ b/modules/home/vscodium/default.nix @@ -36,7 +36,9 @@ "editor.minimap.enabled" = false; "workbench.startupEditor" = "none"; + "editor.formatOnSave" = true; "editor.formatOnType" = true; + "editor.formatOnPaste" = true; "workbench.layoutControl.type" = "menu"; "workbench.editor.limit.enabled" = true; @@ -72,7 +74,9 @@ "C_Cpp.vcFormat.indent.caseLabels" = true; "C_Cpp.intelliSenseCacheSize" = 2048; "C_Cpp.intelliSenseMemoryLimit" = 2048; - "C_Cpp.default.browse.path" = ''[''${workspaceFolder}/**]''; + "C_Cpp.default.browse.path" = [ + ''''${workspaceFolder}/**'' + ]; "C_Cpp.default.cStandard" = "c11"; "C_Cpp.inlayHints.parameterNames.hideLeadingUnderscores" = false; "C_Cpp.intelliSenseUpdateDelay" = 500;