annotate runtime/syntax/qf.vim @ 22237:27c33305cb9c

Added tag v8.2.1667 for changeset 3d0632b260fd0d8e705161ba1a931a231556bc2a
author Bram Moolenaar <Bram@vim.org>
date Sat, 12 Sep 2020 18:45:04 +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