Report debug information on failed autoloading
This commit is contained in:
parent
ae61a98f38
commit
11276ffa66
|
@ -36,7 +36,7 @@ def -params 1 -docstring "colorscheme <name>: enable named colorscheme" \
|
||||||
autoload() {
|
autoload() {
|
||||||
dir=$1
|
dir=$1
|
||||||
for rcfile in ${dir}/*.kak; do
|
for rcfile in ${dir}/*.kak; do
|
||||||
echo "try %{ source '${rcfile}' } catch %{ }";
|
echo "try %{ source '${rcfile}' } catch %{ echo -debug Autoload: could not load '${rcfile}' }";
|
||||||
done
|
done
|
||||||
for subdir in ${dir}/*; do
|
for subdir in ${dir}/*; do
|
||||||
if [ -d "$subdir" ]; then
|
if [ -d "$subdir" ]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user