2 " Language: Quickfix window
3 " Maintainer: Bram Moolenaar <Bram@vim.org>:
4 " Updater: Maciej Łaszcz
5 " Last change: 2010 oct 26
7 " Quit when a syntax file was already loaded
8 if exists("b:current_syntax")
12 " Standard highlighting
13 syn match qfFileName "^[^|]*" nextgroup=qfSeparator
14 syn match qfSeparator "|" nextgroup=qfLineNr contained
15 syn match qfLineNr "[^|]*" nextgroup=qfMessage contained
16 syn match qfMessage ".*$" contained contains=qfError,qfQuote
17 syn match qfError "error" contained
20 syn match qfQuote "‘[^’]*" contained "contains=qfBrackets
21 "syn match qfBrackets "<[^>]*" contained contains=qfBrackets
24 " The default highlighting.
25 hi def link qfFileName Directory
26 hi def link qfLineNr LineNr
27 hi def link qfError Error
29 hi def link qfQuote Type
31 let b:current_syntax = "qf"