From f0c336a28355a95d48c91dd762c00742511fb34e Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sat, 7 Dec 2013 13:57:24 +0000 Subject: [PATCH] ctags.kak: Show message with Information colalias in gentags --- src/rc/ctags.kak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rc/ctags.kak b/src/rc/ctags.kak index 26db6314..757346c3 100644 --- a/src/rc/ctags.kak +++ b/src/rc/ctags.kak @@ -60,7 +60,7 @@ def ctags-disable-autoinfo %{ rmhooks window ctags-autoinfo } decl str ctagsopts "-R ." def gentags %{ - echo launching tag generation in the background + echo -color Information "launching tag generation in the background" %sh{ ( if ctags -f .tags.kaktmp ${kak_opt_ctagsopts}; then mv .tags.kaktmp tags @@ -68,6 +68,6 @@ def gentags %{ else msg="tags generation failed" 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 & } }