Remove trailing ':' from racer execution
When AWK processes the racer response, it adds a trailing ':' that kakoune completion expects to lead to a row having an 'a|b|c' shape, but it's empty instead. Removing the extra ':' allows the racer complation to actually work.
This commit is contained in:
parent
386e66f868
commit
d79e680e71
|
@ -45,7 +45,7 @@ define-command racer-complete -docstring "Complete the current selection with ra
|
||||||
}'
|
}'
|
||||||
)
|
)
|
||||||
printf %s\\n "evaluate-commands -client '${kak_client}' %{
|
printf %s\\n "evaluate-commands -client '${kak_client}' %{
|
||||||
set-option buffer=${kak_bufname} racer_completions %@${compl}@
|
set-option buffer=${kak_bufname} racer_completions %@${compl: : -1}@
|
||||||
}" | kak -p ${kak_session}
|
}" | kak -p ${kak_session}
|
||||||
rm -r ${dir}
|
rm -r ${dir}
|
||||||
) > /dev/null 2>&1 < /dev/null &
|
) > /dev/null 2>&1 < /dev/null &
|
||||||
|
|
Loading…
Reference in New Issue
Block a user