mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-22 19:11:40 +03:00
colorscheme: improve error message if a colorscheme was not found.
This commit is contained in:
parent
47c0d20388
commit
411e31ffdf
@ -22,7 +22,7 @@ def -params 1 -docstring "colorscheme <name>: enable named colorscheme" \
|
|||||||
if [ -n "${filename}" ]; then
|
if [ -n "${filename}" ]; then
|
||||||
printf 'source %%{%s}' "${filename}"
|
printf 'source %%{%s}' "${filename}"
|
||||||
else
|
else
|
||||||
echo "fail 'No such colorscheme'"
|
echo "fail 'No such colorscheme ${1}.kak'"
|
||||||
fi
|
fi
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user