Syntastic doesn't change (nor cares about) highlighting of the error window. It's a plain quickfix
window, with filetype qf
. Looking at syntax/qf.vim
, the default highlighting is this:
syn match qfFileName "^[^|]*" nextgroup=qfSeparator
syn match qfSeparator "|" nextgroup=qfLineNr contained
syn match qfLineNr "[^|]*" contained contains=qfError
syn match qfError "error" contained
hi def link qfFileName Directory
hi def link qfLineNr LineNr
hi def link qfError Error
Thus, if you see the quickfix
window in different colours than the main text, it's because your colour scheme has specifically intended it to look that way. You can override highlighting for qfFileName
, qfSeparator
, qfLineNr
, and qfError
to make it more readable, but the better solution IMO would be to use a less broken colour scheme.
Edit: Vim 8.0.641 and later has QuickFixLine
.