Mercurial > vim
annotate 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 |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
2 " This is a GENERATED FILE. Please always refer to source file at the URI below. | |
3 " Language: gkrellm theme files `gkrellmrc' | |
4 " Maintainer: David Ne\v{c}as (Yeti) <yeti@physics.muni.cz> | |
5 " Last Change: 2003-04-30 | |
6 " URL: http://trific.ath.cx/Ftp/vim/syntax/gkrellmrc.vim | |
7 | |
8 " Setup | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
9 " 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
|
10 if exists("b:current_syntax") |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
11 finish |
7 | 12 endif |
13 | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
14 setlocal iskeyword=_,-,a-z,A-Z,48-57 |
7 | 15 |
16 syn case match | |
17 | |
18 " Base constructs | |
19 syn match gkrellmrcComment "#.*$" contains=gkrellmrcFixme | |
20 syn keyword gkrellmrcFixme FIXME TODO XXX NOT contained | |
21 syn region gkrellmrcString start=+"+ skip=+\\\\\|\\"+ end=+"+ oneline | |
22 syn match gkrellmrcNumber "^-\=\(\d\+\)\=\.\=\d\+" | |
23 syn match gkrellmrcNumber "\W-\=\(\d\+\)\=\.\=\d\+"lc=1 | |
24 syn keyword gkrellmrcConstant none | |
25 syn match gkrellmrcRGBColor "#\(\x\{12}\|\x\{9}\|\x\{6}\|\x\{3}\)\>" | |
26 | |
27 " Keywords | |
28 syn keyword gkrellmrcBuiltinExt cpu_nice_color cpu_nice_grid_color krell_depth krell_expand krell_left_margin krell_right_margin krell_x_hot krell_yoff mem_krell_buffers_depth mem_krell_buffers_expand mem_krell_buffers_x_hot mem_krell_buffers_yoff mem_krell_cache_depth mem_krell_cache_expand mem_krell_cache_x_hot mem_krell_cache_yoff sensors_bg_volt timer_bg_timer | |
29 syn keyword gkrellmrcGlobal allow_scaling author chart_width_ref theme_alternatives | |
30 syn keyword gkrellmrcSetCmd set_image_border set_integer set_string | |
31 syn keyword gkrellmrcGlobal bg_slider_meter_border bg_slider_panel_border | |
32 syn keyword gkrellmrcGlobal frame_bottom_height frame_left_width frame_right_width frame_top_height frame_left_chart_overlap frame_right_chart_overlap frame_left_panel_overlap frame_right_panel_overlap frame_left_spacer_overlap frame_right_spacer_overlap spacer_overlap_off cap_images_off | |
33 syn keyword gkrellmrcGlobal frame_bottom_border frame_left_border frame_right_border frame_top_border spacer_top_border spacer_bottom_border frame_left_chart_border frame_right_chart_border frame_left_panel_border frame_right_panel_border | |
34 syn keyword gkrellmrcGlobal chart_in_color chart_in_color_grid chart_out_color chart_out_color_grid | |
35 syn keyword gkrellmrcGlobal bg_separator_height bg_grid_mode | |
36 syn keyword gkrellmrcGlobal rx_led_x rx_led_y tx_led_x tx_led_y | |
37 syn keyword gkrellmrcGlobal decal_mail_frames decal_mail_delay | |
38 syn keyword gkrellmrcGlobal decal_alarm_frames decal_warn_frames | |
39 syn keyword gkrellmrcGlobal krell_slider_depth krell_slider_expand krell_slider_x_hot | |
40 syn keyword gkrellmrcGlobal button_panel_border button_meter_border | |
41 syn keyword gkrellmrcGlobal large_font normal_font small_font | |
42 syn keyword gkrellmrcGlobal spacer_bottom_height spacer_top_height spacer_bottom_height_chart spacer_top_height_chart spacer_bottom_height_meter spacer_top_height_meter | |
43 syn keyword gkrellmrcExpandMode left right bar-mode left-scaled right-scaled bar-mode-scaled | |
44 syn keyword gkrellmrcMeterName apm cal clock fs host mail mem swap timer sensors uptime | |
45 syn keyword gkrellmrcChartName cpu proc disk inet and net | |
46 syn match gkrellmrcSpecialClassName "\*" | |
47 syn keyword gkrellmrcStyleCmd StyleMeter StyleChart StylePanel | |
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 | |
49 | |
50 " Define the default highlighting | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
51 command -nargs=+ HiLink hi def link <args> |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
52 |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
53 HiLink gkrellmrcComment Comment |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
54 HiLink gkrellmrcFixme Todo |
7 | 55 |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
56 HiLink gkrellmrcString gkrellmrcConstant |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
57 HiLink gkrellmrcNumber gkrellmrcConstant |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
58 HiLink gkrellmrcRGBColor gkrellmrcConstant |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
59 HiLink gkrellmrcExpandMode gkrellmrcConstant |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
60 HiLink gkrellmrcConstant Constant |
7 | 61 |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
62 HiLink gkrellmrcMeterName gkrellmrcClass |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
63 HiLink gkrellmrcChartName gkrellmrcClass |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
64 HiLink gkrellmrcSpecialClassName gkrellmrcClass |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
65 HiLink gkrellmrcClass Type |
7 | 66 |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
67 HiLink gkrellmrcGlobal gkrellmrcItem |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
68 HiLink gkrellmrcBuiltinExt gkrellmrcItem |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
69 HiLink gkrellmrcStyleItem gkrellmrcItem |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
70 HiLink gkrellmrcItem Function |
7 | 71 |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
72 HiLink gkrellmrcSetCmd Special |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
73 HiLink gkrellmrcStyleCmd Statement |
7 | 74 |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
75 delcommand HiLink |
7 | 76 |
77 let b:current_syntax = "gkrellmrc" |