annotate runtime/syntax/qf.vim @ 17774:fa8b9059947b

Added tag v8.1.1883 for changeset e162a54e4c495b695ab2405415ae4b9a40e83698
author Bram Moolenaar <Bram@vim.org>
date Sun, 18 Aug 2019 18:00: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