From: martin f. krafft Date: Wed, 23 Aug 2023 04:35:55 +0000 (+1200) Subject: buildmimetree.py: pass --debug-commands to editor if used for setup X-Git-Url: https://git.madduck.net/etc/neomutt.git/commitdiff_plain/dd824d822450c4155e80cdef747ccdeff83fd9d6 buildmimetree.py: pass --debug-commands to editor if used for setup --- 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"')