syn clear " I have completely overriden the formatting for the quickfix and location list buffers so this " has to be changed to give proper highlighting of the new format " syn match qfSignError "\[!\]" contained syn match qfSignWarn "\[#\]" contained syn match qfSignSearch "\[\~\]" contained syn match qfFileName "^[^:]*" contains=@qfSign nextgroup=qfSeparator1 syn match qfSeparator1 ":" contained nextgroup=qfLineNr syn match qfLineNr "[^:|]*" contained nextgroup=qfSeparator2,qfSeparator3 syn match qfSeparator2 ":" contained nextgroup=qfColumnNr syn match qfColumnNr "[^|]*" contained syn match qfSeparator3 "|" contained syn cluster qfSign contains=qfSignError,qfSignWarn,qfSignSearch hi clear qfFileName hi clear qfLineNr hi def link qfSignError DiagnosticSignError hi def link qfSignWarn DiagnosticSignWarn hi def link qfSignSearch LineNr hi def link qfFileName Function hi def link qfLineNr Number hi def link qfColumnNr Number let b:current_syntax = "qf"