Mercurial > vim
comparison runtime/syntax/exports.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 | 8edf0aeb71b9 |
comparison
equal
deleted
inserted
replaced
10050:b702edc4b2b8 | 10051:46763b01cd9a |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " Language: exports | 2 " Language: exports |
3 " Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz> | 3 " Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz> |
4 " Last Change: Oct 23, 2014 | 4 " Last Change: Aug 31, 2016 |
5 " Version: 5 | 5 " Version: 7 |
6 " Notes: This file includes both SysV and BSD 'isms | 6 " Notes: This file includes both SysV and BSD 'isms |
7 " URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_EXPORTS | 7 " URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_EXPORTS |
8 | 8 |
9 " quit when a syntax file was already loaded | 9 " quit when a syntax file was already loaded |
10 if exists("b:current_syntax") | 10 if exists("b:current_syntax") |
34 | 34 |
35 " comments | 35 " comments |
36 syn match exportsComment "^\s*#.*$" contains=@Spell | 36 syn match exportsComment "^\s*#.*$" contains=@Spell |
37 | 37 |
38 " Define the default highlighting. | 38 " Define the default highlighting. |
39 " Only when an item doesn't have highlighting yet | 39 if !exists("skip_exports_syntax_inits") |
40 command -nargs=+ HiLink hi def link <args> | |
41 | 40 |
42 HiLink exportsKeyOptSet exportsKeySettings | 41 hi def link exportsKeyOptSet exportsKeySettings |
43 HiLink exportsOptSet exportsSettings | 42 hi def link exportsOptSet exportsSettings |
44 | 43 |
45 HiLink exportsComment Comment | 44 hi def link exportsComment Comment |
46 HiLink exportsKeyOptions Type | 45 hi def link exportsKeyOptions Type |
47 HiLink exportsKeySettings Keyword | 46 hi def link exportsKeySettings Keyword |
48 HiLink exportsOptions Constant | 47 hi def link exportsOptions Constant |
49 HiLink exportsSeparator Constant | 48 hi def link exportsSeparator Constant |
50 HiLink exportsSettings Constant | 49 hi def link exportsSettings Constant |
51 | 50 |
52 HiLink exportsOptError Error | 51 hi def link exportsOptError Error |
53 HiLink exportsOptSetError Error | 52 hi def link exportsOptSetError Error |
54 HiLink exportsSetError Error | 53 hi def link exportsSetError Error |
55 | 54 |
56 delcommand HiLink | 55 endif |
57 | 56 |
58 let b:current_syntax = "exports" | 57 let b:current_syntax = "exports" |
59 " vim: ts=10 | 58 " vim: ts=10 |