0

If my .vimrc file has this:

set background=dark
highlight Comment term=bold ctermfg=white

...comments are white as expected.

But if I reverse the order of the statements:

highlight Comment term=bold ctermfg=white
set background=dark

...comments are light blue.

But what really has me confused is that I had highlight directive before the background directive for the longest time and comments were still white. Now all of a sudden I'm seeing this behavior. What can explain this?

Martin Tournoij
  • 62,054
  • 25
  • 192
  • 271
StevieD
  • 1,492
  • 1
  • 16
  • 24

0 Answers0