Mercurial > vim
comparison runtime/syntax/gkrellmrc.vim @ 10048:43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 30 23:26:57 2016 +0200
Updated runtime files. Remove version checks for Vim older than 6.0.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 30 Aug 2016 23:30:09 +0200 |
parents | 3fc0f57ecb91 |
children | 46763b01cd9a |
comparison
equal
deleted
inserted
replaced
10047:a62862410ca1 | 10048:43efa4f5a8ea |
---|---|
4 " Maintainer: David Ne\v{c}as (Yeti) <yeti@physics.muni.cz> | 4 " Maintainer: David Ne\v{c}as (Yeti) <yeti@physics.muni.cz> |
5 " Last Change: 2003-04-30 | 5 " Last Change: 2003-04-30 |
6 " URL: http://trific.ath.cx/Ftp/vim/syntax/gkrellmrc.vim | 6 " URL: http://trific.ath.cx/Ftp/vim/syntax/gkrellmrc.vim |
7 | 7 |
8 " Setup | 8 " Setup |
9 if version >= 600 | 9 " quit when a syntax file was already loaded |
10 if exists("b:current_syntax") | 10 if exists("b:current_syntax") |
11 finish | 11 finish |
12 endif | |
13 else | |
14 syntax clear | |
15 endif | 12 endif |
16 | 13 |
17 if version >= 600 | 14 setlocal iskeyword=_,-,a-z,A-Z,48-57 |
18 setlocal iskeyword=_,-,a-z,A-Z,48-57 | |
19 else | |
20 set iskeyword=_,-,a-z,A-Z,48-57 | |
21 endif | |
22 | 15 |
23 syn case match | 16 syn case match |
24 | 17 |
25 " Base constructs | 18 " Base constructs |
26 syn match gkrellmrcComment "#.*$" contains=gkrellmrcFixme | 19 syn match gkrellmrcComment "#.*$" contains=gkrellmrcFixme |
53 syn match gkrellmrcSpecialClassName "\*" | 46 syn match gkrellmrcSpecialClassName "\*" |
54 syn keyword gkrellmrcStyleCmd StyleMeter StyleChart StylePanel | 47 syn keyword gkrellmrcStyleCmd StyleMeter StyleChart StylePanel |
55 syn keyword gkrellmrcStyleItem textcolor alt_textcolor font alt_font transparency border label_position margin margins left_margin right_margin top_margin bottom_margin krell_depth krell_yoff krell_x_hot krell_expand krell_left_margin krell_right_margin | 48 syn keyword gkrellmrcStyleItem textcolor alt_textcolor font alt_font transparency border label_position margin margins left_margin right_margin top_margin bottom_margin krell_depth krell_yoff krell_x_hot krell_expand krell_left_margin krell_right_margin |
56 | 49 |
57 " Define the default highlighting | 50 " Define the default highlighting |
58 if version >= 508 || !exists("did_gtkrc_syntax_inits") | 51 command -nargs=+ HiLink hi def link <args> |
59 if version < 508 | |
60 let did_gtkrc_syntax_inits = 1 | |
61 command -nargs=+ HiLink hi link <args> | |
62 else | |
63 command -nargs=+ HiLink hi def link <args> | |
64 endif | |
65 | 52 |
66 HiLink gkrellmrcComment Comment | 53 HiLink gkrellmrcComment Comment |
67 HiLink gkrellmrcFixme Todo | 54 HiLink gkrellmrcFixme Todo |
68 | 55 |
69 HiLink gkrellmrcString gkrellmrcConstant | 56 HiLink gkrellmrcString gkrellmrcConstant |
70 HiLink gkrellmrcNumber gkrellmrcConstant | 57 HiLink gkrellmrcNumber gkrellmrcConstant |
71 HiLink gkrellmrcRGBColor gkrellmrcConstant | 58 HiLink gkrellmrcRGBColor gkrellmrcConstant |
72 HiLink gkrellmrcExpandMode gkrellmrcConstant | 59 HiLink gkrellmrcExpandMode gkrellmrcConstant |
73 HiLink gkrellmrcConstant Constant | 60 HiLink gkrellmrcConstant Constant |
74 | 61 |
75 HiLink gkrellmrcMeterName gkrellmrcClass | 62 HiLink gkrellmrcMeterName gkrellmrcClass |
76 HiLink gkrellmrcChartName gkrellmrcClass | 63 HiLink gkrellmrcChartName gkrellmrcClass |
77 HiLink gkrellmrcSpecialClassName gkrellmrcClass | 64 HiLink gkrellmrcSpecialClassName gkrellmrcClass |
78 HiLink gkrellmrcClass Type | 65 HiLink gkrellmrcClass Type |
79 | 66 |
80 HiLink gkrellmrcGlobal gkrellmrcItem | 67 HiLink gkrellmrcGlobal gkrellmrcItem |
81 HiLink gkrellmrcBuiltinExt gkrellmrcItem | 68 HiLink gkrellmrcBuiltinExt gkrellmrcItem |
82 HiLink gkrellmrcStyleItem gkrellmrcItem | 69 HiLink gkrellmrcStyleItem gkrellmrcItem |
83 HiLink gkrellmrcItem Function | 70 HiLink gkrellmrcItem Function |
84 | 71 |
85 HiLink gkrellmrcSetCmd Special | 72 HiLink gkrellmrcSetCmd Special |
86 HiLink gkrellmrcStyleCmd Statement | 73 HiLink gkrellmrcStyleCmd Statement |
87 | 74 |
88 delcommand HiLink | 75 delcommand HiLink |
89 endif | |
90 | 76 |
91 let b:current_syntax = "gkrellmrc" | 77 let b:current_syntax = "gkrellmrc" |