Fix racer complation on Mac

This commit is contained in:
Marc 2018-03-04 20:14:53 +00:00
parent 8acedacf7c
commit 2ef1ac0b3b

View File

@ -72,7 +72,7 @@ define-command racer-complete -docstring "Complete the current selection with ra
}'
)
printf %s\\n "evaluate-commands -client '${kak_client}' %{
set-option buffer=${kak_bufname} racer_completions %@${compl: : -1}@
set-option buffer=${kak_bufname} racer_completions %@${compl%?}@
}" | kak -p ${kak_session}
rm -r ${dir}
) > /dev/null 2>&1 < /dev/null &