From 46c7b683a52af90b0373c114e84ae504c05c249a Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Tue, 30 Apr 2024 11:17:17 -0500 Subject: [PATCH] vscode: adjust snippet/quicksuggestions behavior --- home/features/desktop/vscode.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/home/features/desktop/vscode.nix b/home/features/desktop/vscode.nix index 36ea2f7..d42a33d 100644 --- a/home/features/desktop/vscode.nix +++ b/home/features/desktop/vscode.nix @@ -190,8 +190,14 @@ "editor.fontLigatures" = true; "editor.inlineSuggest.enabled" = true; "editor.lineNumbers" = "relative"; + "editor.quickSuggestions" = { + "other" = true; + "comments" = false; + "strings" = true; + }; "editor.renderControlCharacters" = true; "editor.renderWhitespace" = "all"; + "editor.snippetSuggestions" = "top"; "editor.tabCompletion" = "off"; "editor.tabSize" = 2; "explorer.confirmDragAndDrop" = false; @@ -228,6 +234,14 @@ "vim.useCtrlKeys" = false; "window.restoreWindows" = "none"; "workbench.startupEditor" = "none"; + "[markdown]" = { + "editor.defaultFormatter" = "yzhang.markdown-all-in-one"; + "editor.quickSuggestions" = { + "other" = true; + "comments" = false; + "strings" = true; + }; + }; }; }; }