Merge remote-tracking branch 'lenormf/fix-lint'

This commit is contained in:
Maxime Coste 2020-04-09 07:41:54 +10:00
commit 63df04b6e0

View File

@ -277,6 +277,12 @@ define-command \
} \
lint-buffer \
%{
evaluate-commands %sh{
if [ -z "${kak_opt_lintcmd}" ]; then
echo 'fail The lintcmd option is not set'
exit 1
fi
}
evaluate-commands -draft %{
execute-keys '%'
lint-cleaned-selections %opt{lintcmd}