ctags.kak: Show message with Information colalias in gentags

This commit is contained in:
Maxime Coste 2013-12-07 13:57:24 +00:00
parent 9ecfcfad43
commit f0c336a283

View File

@ -60,7 +60,7 @@ def ctags-disable-autoinfo %{ rmhooks window ctags-autoinfo }
decl str ctagsopts "-R ." decl str ctagsopts "-R ."
def gentags %{ def gentags %{
echo launching tag generation in the background echo -color Information "launching tag generation in the background"
%sh{ ( %sh{ (
if ctags -f .tags.kaktmp ${kak_opt_ctagsopts}; then if ctags -f .tags.kaktmp ${kak_opt_ctagsopts}; then
mv .tags.kaktmp tags mv .tags.kaktmp tags
@ -68,6 +68,6 @@ def gentags %{
else else
msg="tags generation failed" msg="tags generation failed"
fi fi
echo "eval -client $kak_client echo ${msg}" | socat -u stdin UNIX-CONNECT:/tmp/kak-${kak_session} echo "eval -client $kak_client echo -color Information '${msg}'" | socat -u stdin UNIX-CONNECT:/tmp/kak-${kak_session}
) >& /dev/null < /dev/null & } ) >& /dev/null < /dev/null & }
} }