From 11276ffa66a2da95548f4c15893ce79476dfcefa Mon Sep 17 00:00:00 2001 From: Enrico Lumetti Date: Thu, 10 Dec 2015 14:35:53 +0100 Subject: [PATCH] Report debug information on failed autoloading --- share/kak/kakrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/kak/kakrc b/share/kak/kakrc index 3c49bd93..06692034 100644 --- a/share/kak/kakrc +++ b/share/kak/kakrc @@ -36,7 +36,7 @@ def -params 1 -docstring "colorscheme : 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