The way vim handles invalid options to :set is by showing a red status bar, that looks like this: :set fgjakfdsafaskdl E518: Unknown option: fgjakfdksafaskdl Perhaps this behavior should be emulated, as I think it is more clear than "option error: %s"