kakrc: define colorscheme before sourcing user config
This commit is contained in:
parent
08873a779a
commit
deb502cb40
24
src/kakrc
24
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{
|
def -shell-params runtime %{ %sh{
|
||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
echo "source '${kak_runtime}/$1'"
|
echo "source '${kak_runtime}/$1'"
|
||||||
|
@ -20,15 +32,3 @@ def -shell-params runtime %{ %sh{
|
||||||
echo "source '${localconfdir}/kakrc'"
|
echo "source '${localconfdir}/kakrc'"
|
||||||
fi
|
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
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user