Add missing quoting in clang.kak
This commit is contained in:
parent
3d8e9a298c
commit
4f07632ac0
|
@ -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
|
||||||
} }
|
} }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user