annotate runtime/syntax/qf.vim @ 23568:e6f7afb1564b

Added tag v8.2.2326 for changeset cd6b9bc51d58275b1c27c690479111e745f1f8f4
author Bram Moolenaar <Bram@vim.org>
date Sun, 10 Jan 2021 23:00:05 +0100
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