3

If I have set confirm, Vim will show a confirmation dialog if I attempt to quit Vim when there are unsaved changes:

Vim confirmation dialog

Which highlight group is responsible for the colors of the text in the confirmation dialog? I would like to change the foreground color to dark blue instead.

4

For some unknown reason it's :h hl-MoreMsg.

BTW. If you're unhappy with some colors it might be worth to give a try to a different color scheme, as there's a ton of them.

2
  • MoreMsg kind of makes sense, as it's an interactive prompt just as the MORE message is. I guess that the more message predated confirm(), so now it's misnamed. – Martin Tournoij Feb 2 at 12:36
  • @MartinTournoij Probably, yes. Though my first thought was "hl-Question" or such. – Matt Feb 2 at 13:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.