From d56c8bbf12b36cca71b98656ea87f7fe8c122109 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Thu, 13 Mar 2025 17:45:06 -0400 Subject: [PATCH] AutoYADM commit: 2025-03-13 17:45:06 --- .config/aerc/aerc.conf | 2 +- .config/aerc/hx.sh | 3 +++ .config/helix/tmp-config/languages.toml | 9 +++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100755 .config/aerc/hx.sh create mode 100644 .config/helix/tmp-config/languages.toml diff --git a/.config/aerc/aerc.conf b/.config/aerc/aerc.conf index 771d0472..90ea2060 100644 --- a/.config/aerc/aerc.conf +++ b/.config/aerc/aerc.conf @@ -629,7 +629,7 @@ always-show-mime=true # Specifies the command to run the editor with. It will be shown in an embedded # terminal, though it may also launch a graphical window if the environment # supports it. Defaults to $EDITOR, or vi. -#editor= +editor=(cd /tmp && hx) # # When set, aerc will create and read .eml files for composing that have diff --git a/.config/aerc/hx.sh b/.config/aerc/hx.sh new file mode 100755 index 00000000..110a8693 --- /dev/null +++ b/.config/aerc/hx.sh @@ -0,0 +1,3 @@ +#!/bin/env bash + +cd /tmp && hx "$@" diff --git a/.config/helix/tmp-config/languages.toml b/.config/helix/tmp-config/languages.toml new file mode 100644 index 00000000..2355c09e --- /dev/null +++ b/.config/helix/tmp-config/languages.toml @@ -0,0 +1,9 @@ +[[language]] +name = "markdown" +file-types = ["md", "livemd", "markdown", "mdx", "mkd", "mkdn", "mdwn", "mdown", "markdn", "mdtxt", "mdtext", "workbook", { glob = "PULLREQ_EDITMSG" }, { glob = "/tmp/aerc-compose-*.eml" }] +# language-servers = ["ltex-ls-plus", "marksman", "scls"] +language-servers = ["harper-ls", "marksman", "scls"] +# formatter = { command = "dprint", args = ["fmt", "--stdin", "md", "-c", "~/.dprint.jsonc"] } +# depends on aerc +formatter = { command = "/usr/lib/aerc/filters/wrap", args = ["-w", "80"] } +auto-format = true