From dd824d822450c4155e80cdef747ccdeff83fd9d6 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 23 Aug 2023 16:35:55 +1200 Subject: [PATCH 1/1] buildmimetree.py: pass --debug-commands to editor if used for setup --- .config/neomutt/buildmimetree.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/neomutt/buildmimetree.py b/.config/neomutt/buildmimetree.py index 894216f..fe85167 100755 --- a/.config/neomutt/buildmimetree.py +++ b/.config/neomutt/buildmimetree.py @@ -304,6 +304,8 @@ def do_setup( editor = f"{sys.argv[0]} massage --write-commands-to {temppath}" if extensions: editor = f'{editor} --extensions {",".join(extensions)}' + if debug_commands: + editor = f'{editor} --debug-commands' cmds.cmd('set my_editor="$editor"') cmds.cmd('set my_edit_headers="$edit_headers"') -- 2.39.5