Mercurial > vim
annotate runtime/syntax/rcslog.vim @ 10734:523cd59d6db0
Update runtime files.
commit https://github.com/vim/vim/commit/690afe1fef87e7eef6fb7343a926617d5f7315fa
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 28 18:34:47 2017 +0100
Update runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 28 Jan 2017 18:45:05 +0100 |
parents | 46763b01cd9a |
children |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
2 " Language: RCS log output | |
3 " Maintainer: Joe Karthauser <joe@freebsd.org> | |
4 " Last Change: 2001 May 09 | |
5 | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
6 " quit when a syntax file was already loaded |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
7 if exists("b:current_syntax") |
7 | 8 finish |
9 endif | |
10 | |
11 syn match rcslogRevision "^revision.*$" | |
12 syn match rcslogFile "^RCS file:.*" | |
13 syn match rcslogDate "^date: .*$" | |
14 | |
15 " Define the default highlighting. | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
16 " Only when an item doesn't have highlighting yet |
7 | 17 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
18 hi def link rcslogFile Type |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
19 hi def link rcslogRevision Constant |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
20 hi def link rcslogDate Identifier |
7 | 21 |
22 | |
23 let b:current_syntax = "rcslog" | |
24 | |
25 " vim: ts=8 |