From fcb6f5d129acd4984872265c77948ab71a0f2ba7 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Fri, 21 Mar 2025 19:19:15 +0100 Subject: [PATCH] lkasjdalksd --- settings.json | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/settings.json b/settings.json index d75b3cf..3718424 100644 --- a/settings.json +++ b/settings.json @@ -61,6 +61,7 @@ // I like it, but it is too slow https://github.com/zed-industries/zed/issues/13547 "inline_blame": { "enabled": false } }, + "format_on_save": "off", "preview_tabs": { // Those annoying tabs that close themselves // I'd like more control over what is made ino a preview and not @@ -71,6 +72,7 @@ }, "auto_install_extensions": { // "railcast": true, + // "basher": true, // I want https://github.com/rburmorrison/shell.zed... "cython": true, "docker-compose": true, "dockerfile": true, @@ -106,12 +108,28 @@ // // "preferred_line_length": 120 // }, "Nix": { - "tab_size": 2, - "format_on_save": "off" + "tab_size": 2 + // "format_on_save": "off" + }, + "Just": { + "formatter": { + "external": { + "command": "bash", + "arguments": ["-c", "t=\"$(mktemp)\"; cat >\"$t\"; just --unstable --fmt --justfile \"$t\"; cat \"$t\"; rm \"$t\";"] + } + } + }, + "Shell Script": { + "formatter": { + "external": { + "command": "shfmt", + "arguments": ["--indent=2", "--filename", "{buffer_path}"] + } + } }, "TOML": { // TODO: fix lsp config in zed - "format_on_save": "off" + // "format_on_save": "off" } }, // https://zed.dev/docs/configuring-zed#lsp