Add missing quoting in clang.kak

This commit is contained in:
Maxime Coste 2016-01-26 06:32:23 +00:00
parent 3d8e9a298c
commit 4f07632ac0

View File

@ -125,7 +125,7 @@ def clang-disable-autocomplete -docstring "Disable automatic clang completion" %
def -allow-override -hidden clang-show-error-info %{ %sh{ def -allow-override -hidden clang-show-error-info %{ %sh{
printf %s "${kak_opt_clang_errors}" | grep "^${kak_cursor_line},.*" | if read line; then printf %s "${kak_opt_clang_errors}" | grep "^${kak_cursor_line},.*" | if read line; then
desc=$(printf %s ${line} | sed -e "s/^[[:digit:]]\+,//g; s/'/\\\\'/g") desc=$(printf %s "${line}" | sed -e "s/^[[:digit:]]\+,//g; s/'/\\\\'/g")
echo "info -anchor ${kak_cursor_line}.${kak_cursor_column} '${desc}'" echo "info -anchor ${kak_cursor_line}.${kak_cursor_column} '${desc}'"
fi fi
} } } }