annotate runtime/syntax/qf.vim @ 8791:43b5ff7837ea v7.4.1684

commit https://github.com/vim/vim/commit/d18cfb7dbfd32af729d3ac5136f77dcdbefe5dee Author: Bram Moolenaar <Bram@vim.org> Date: Tue Mar 29 22:29:18 2016 +0200 patch 7.4.1684 Problem: README text is slightly outdated. Solution: Mention the READMEdir directory.
author Christian Brabandt <cb@256bit.org>
date Tue, 29 Mar 2016 22:30:09 +0200
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