Add error message when using format command with no formatcmd specified
This commit is contained in:
parent
e9c0c05548
commit
a932b6b21e
|
@ -30,6 +30,8 @@ def format -docstring "Format the contents of the current buffer" %{ eval -draft
|
|||
rm -f \"${path_file_tmp}\"
|
||||
}
|
||||
"
|
||||
else
|
||||
printf '%s\n' "eval -client '${kak_client}' echo -color Error formatcmd option not specified"
|
||||
fi
|
||||
}
|
||||
} }
|
||||
|
|
Loading…
Reference in New Issue
Block a user