Add error message when using format command with no formatcmd specified

This commit is contained in:
Delapouite 2017-06-26 22:10:04 +02:00
parent e9c0c05548
commit a932b6b21e

View File

@ -30,6 +30,8 @@ def format -docstring "Format the contents of the current buffer" %{ eval -draft
rm -f \"${path_file_tmp}\" rm -f \"${path_file_tmp}\"
} }
" "
else
printf '%s\n' "eval -client '${kak_client}' echo -color Error formatcmd option not specified"
fi fi
} }
} } } }