Mercurial > vim
annotate runtime/syntax/qf.vim @ 12674:e769c912fcd9 v8.0.1215
patch 8.0.1215: newer gcc warns for implicit fallthrough
commit https://github.com/vim/vim/commit/2f40d129bf45cd35976e4120336ae6d504f5a5dd
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Oct 24 21:49:36 2017 +0200
patch 8.0.1215: newer gcc warns for implicit fallthrough
Problem: Newer gcc warns for implicit fallthrough.
Solution: Consistently use a FALLTHROUGH comment. (Christian Brabandt)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 24 Oct 2017 22:00:06 +0200 |
parents | 3fc0f57ecb91 |
children | 4027cefc2aab |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
2 " Language: Quickfix window | |
3 " Maintainer: Bram Moolenaar <Bram@vim.org> | |
4 " Last change: 2001 Jan 15 | |
5 | |
6 " Quit when a syntax file was already loaded | |
7 if exists("b:current_syntax") | |
8 finish | |
9 endif | |
10 | |
11 " A bunch of useful C keywords | |
12 syn match qfFileName "^[^|]*" nextgroup=qfSeparator | |
13 syn match qfSeparator "|" nextgroup=qfLineNr contained | |
14 syn match qfLineNr "[^|]*" contained contains=qfError | |
15 syn match qfError "error" contained | |
16 | |
17 " The default highlighting. | |
18 hi def link qfFileName Directory | |
19 hi def link qfLineNr LineNr | |
20 hi def link qfError Error | |
21 | |
22 let b:current_syntax = "qf" | |
23 | |
24 " vim: ts=8 |