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() {
|
||||
dir=$1
|
||||
for rcfile in ${dir}/*.kak; do
|
||||
echo "try %{ source '${rcfile}' } catch %{ }";
|
||||
echo "try %{ source '${rcfile}' } catch %{ echo -debug Autoload: could not load '${rcfile}' }";
|
||||
done
|
||||
for subdir in ${dir}/*; do
|
||||
if [ -d "$subdir" ]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user