rc lint: Re-add missing kakquote functions.

This commit is contained in:
Tim Allen 2020-02-13 20:18:12 +11:00
parent c1e9f46301
commit cad0572ca5

View File

@ -344,6 +344,9 @@ define-command \
update-option buffer lint_messages
evaluate-commands %sh{
# This is going to come in handy later.
kakquote() { printf "%s" "$*" | sed "s/'/''/g; 1s/^/'/; \$s/\$/'/"; }
eval "set -- ${kak_quoted_opt_lint_messages}"
shift
@ -377,6 +380,9 @@ define-command \
update-option buffer lint_messages
evaluate-commands %sh{
# This is going to come in handy later.
kakquote() { printf "%s" "$*" | sed "s/'/''/g; 1s/^/'/; \$s/\$/'/"; }
eval "set -- ${kak_quoted_opt_lint_messages}"
shift