diff --git a/rc/extra/racer.kak b/rc/extra/racer.kak index 06bed711..944e9c65 100644 --- a/rc/extra/racer.kak +++ b/rc/extra/racer.kak @@ -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 &