annotate runtime/syntax/qf.vim @ 1928:7caa503b63a9 v7.2.225

updated for version 7.2-225
author vimboss
date Thu, 09 Jul 2009 16:24:19 +0000
parents 3fc0f57ecb91
children 4027cefc2aab
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: Quickfix window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Bram Moolenaar <Bram@vim.org>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Last change: 2001 Jan 15
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " Quit when a syntax file was already loaded
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 if exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 " A bunch of useful C keywords
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 syn match qfFileName "^[^|]*" nextgroup=qfSeparator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 syn match qfSeparator "|" nextgroup=qfLineNr contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 syn match qfLineNr "[^|]*" contained contains=qfError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 syn match qfError "error" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 " The default highlighting.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 hi def link qfFileName Directory
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 hi def link qfLineNr LineNr
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 hi def link qfError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 let b:current_syntax = "qf"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 " vim: ts=8