Commit 14ecc38b authored by Tim Allen's avatar Tim Allen

Support saving register content that begins with a hyphen.

Previously, if we tried to save a register whose content began
with a hyphen, Kakoune would get confused and treat it as an
option to the echo command.

Now it always gets correctly treated as content.
parent 5b9728b5
......@@ -58,6 +58,7 @@ define-command \
evaluate-commands echo \
-to-file "%opt{state_save_path}/%arg{1}.register" \
-quoting kakoune \
-- \
"%%reg{%arg{1}}"
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment