Improve error reporting for :set commands in the prompt