mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-23 07:15:52 +03:00
rc lint: Re-add missing kakquote functions.
This commit is contained in:
parent
c1e9f46301
commit
cad0572ca5
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user