Mercurial > vim
comparison runtime/syntax/tags.vim @ 10051:46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 31 22:22:10 2016 +0200
Updated runtime files. Remove HiLink commands.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 31 Aug 2016 22:30:08 +0200 |
parents | 43efa4f5a8ea |
children | d75e2380db0e |
comparison
equal
deleted
inserted
replaced
10050:b702edc4b2b8 | 10051:46763b01cd9a |
---|---|
1 " Language: tags | 1 " Language: tags |
2 " Maintainer: Charles E. Campbell <NdrOchip@PcampbellAfamily.Mbiz> | 2 " Maintainer: Charles E. Campbell <NdrOchip@PcampbellAfamily.Mbiz> |
3 " Last Change: Oct 23, 2014 | 3 " Last Change: Aug 31, 2016 |
4 " Version: 4 | 4 " Version: 6 |
5 " URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_TAGS | 5 " URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_TAGS |
6 | 6 |
7 " quit when a syntax file was already loaded | 7 " quit when a syntax file was already loaded |
8 if exists("b:current_syntax") | 8 if exists("b:current_syntax") |
9 finish | 9 finish |
17 syn match tagComment ";.*$" contained contains=tagField | 17 syn match tagComment ";.*$" contained contains=tagField |
18 syn match tagComment "^!_TAG_.*$" | 18 syn match tagComment "^!_TAG_.*$" |
19 syn match tagField contained "[a-z]*:" | 19 syn match tagField contained "[a-z]*:" |
20 | 20 |
21 " Define the default highlighting. | 21 " Define the default highlighting. |
22 " Only when an item doesn't have highlighting yet | 22 if !exists("skip_drchip_tags_inits") |
23 command -nargs=+ HiLink hi def link <args> | |
24 | 23 |
25 HiLink tagBaseFile PreProc | 24 hi def link tagBaseFile PreProc |
26 HiLink tagComment Comment | 25 hi def link tagComment Comment |
27 HiLink tagDelim Delimiter | 26 hi def link tagDelim Delimiter |
28 HiLink tagField Number | 27 hi def link tagField Number |
29 HiLink tagName Identifier | 28 hi def link tagName Identifier |
30 HiLink tagPath PreProc | 29 hi def link tagPath PreProc |
31 | 30 |
32 delcommand HiLink | 31 endif |
33 | 32 |
34 let b:current_syntax = "tags" | 33 let b:current_syntax = "tags" |
35 | 34 |
36 " vim: ts=12 | 35 " vim: ts=12 |