From cf36d2b6dd486e38937656fe4828b6d316b0a00d Mon Sep 17 00:00:00 2001 From: Kristian Krsnik Date: Thu, 17 Aug 2023 20:38:46 +0200 Subject: [PATCH] added toml extension --- home/vscode.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/vscode.nix b/home/vscode.nix index 13f05bd..7e6dc20 100644 --- a/home/vscode.nix +++ b/home/vscode.nix @@ -21,6 +21,7 @@ james-yu.latex-workshop github.copilot davidanson.vscode-markdownlint + tamasfe.even-better-toml ]; userSettings = { "window.menuBarVisibility" = "hidden"; @@ -36,6 +37,10 @@ "editor.formatOnSave" = true; "editor.formatOnSaveMode" = "file"; # modificationsIfAvailable does not work }; + "[toml]" = { + "editor.formatOnSave" = true; + "editor.modificationsIfAvailable" = "file"; + }; "python.formatting.autopep8Path" = "${pkgs.python311Packages.autopep8}/bin/autopep8"; "nix.enableLanguageServer" = true; "nix.serverPath" = "${pkgs.nil}/bin/nil";