AutoYADM commit: 2025-07-11 17:47:01

This commit is contained in:
Daniel Fichtinger 2025-07-11 17:47:01 -04:00
parent 1ec996a1e1
commit 9c6d92bfeb
3 changed files with 7 additions and 9 deletions

View file

@ -8,7 +8,7 @@ provide-module repl %∴
edit -scratch
execute-keys '"aR'
set-register | %{
awk -v cmds="define-command|declare-option" '
awk -v cmds="define-command|provide-module" '
$0 ~ cmds {
if ($0 !~ /-override/) {
sub(/(foo-bar|define-command)/, "& -override")
@ -21,4 +21,7 @@ provide-module repl %∴
delete-buffer
}
}
define-command execute-file %{
execute-keys -draft '%: execute-selection<ret>'
}