Fix windowing detection echoing last module error if none matched
Display a more general message in the debug buffer.
This commit is contained in:
parent
19cbb703a7
commit
4106791adc
|
@ -31,11 +31,11 @@ hook -group windowing global KakBegin .* %{
|
||||||
set -- ${kak_opt_windowing_modules}
|
set -- ${kak_opt_windowing_modules}
|
||||||
if [ $# -gt 0 ]; then
|
if [ $# -gt 0 ]; then
|
||||||
echo 'try %{ '
|
echo 'try %{ '
|
||||||
while [ $# -gt 1 ]; do
|
while [ $# -ge 1 ]; do
|
||||||
echo "require-module ${1} } catch %{ "
|
echo "require-module ${1} } catch %{ "
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
echo "require-module ${1} }"
|
echo "echo -debug 'no windowing module detected' }"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user