From deb502cb40cbf4b4216f587adaf4a12bc71a0f50 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 28 Mar 2013 18:38:41 +0100 Subject: [PATCH] kakrc: define colorscheme before sourcing user config --- src/kakrc | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/kakrc b/src/kakrc index c39e49bc..81ec831b 100644 --- a/src/kakrc +++ b/src/kakrc @@ -1,3 +1,15 @@ +# define color scheme +colalias value red +colalias type yellow +colalias identifier cyan +colalias string magenta +colalias error default,red +colalias keyword blue +colalias operator yellow +colalias attribute green +colalias comment cyan +colalias macro magenta + def -shell-params runtime %{ %sh{ while [ $# -gt 0 ]; do echo "source '${kak_runtime}/$1'" @@ -20,15 +32,3 @@ def -shell-params runtime %{ %sh{ echo "source '${localconfdir}/kakrc'" fi } - -# define color scheme -colalias value red -colalias type yellow -colalias identifier cyan -colalias string magenta -colalias error default,red -colalias keyword blue -colalias operator yellow -colalias attribute green -colalias comment cyan -colalias macro magenta