ignore on .netrwhist
[my-vim-dotfolder.git] / syntax / qf.vim
blob08f62ca8c0b334b301be73e5d820d4835dcf5b4f
1 " Vim syntax file
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")
9   finish
10 endif
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
19 " gcc messages help
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"
33 " vim: ts=8