annotate runtime/syntax/gkrellmrc.vim @ 14783:382b629454f5

Added tag v8.1.0403 for changeset d2aea794a681045a89967ba9f8d67c1950b68fdd
author Christian Brabandt <cb@256bit.org>
date Tue, 18 Sep 2018 21:45:06 +0200
parents 46763b01cd9a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " This is a GENERATED FILE. Please always refer to source file at the URI below.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Language: gkrellm theme files `gkrellmrc'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Maintainer: David Ne\v{c}as (Yeti) <yeti@physics.muni.cz>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 " Last Change: 2003-04-30
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " URL: http://trific.ath.cx/Ftp/vim/syntax/gkrellmrc.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 syn case match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 " Base constructs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 syn match gkrellmrcComment "#.*$" contains=gkrellmrcFixme
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 syn keyword gkrellmrcFixme FIXME TODO XXX NOT contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 syn region gkrellmrcString start=+"+ skip=+\\\\\|\\"+ end=+"+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 syn match gkrellmrcNumber "^-\=\(\d\+\)\=\.\=\d\+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn match gkrellmrcNumber "\W-\=\(\d\+\)\=\.\=\d\+"lc=1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn keyword gkrellmrcConstant none
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 syn match gkrellmrcRGBColor "#\(\x\{12}\|\x\{9}\|\x\{6}\|\x\{3}\)\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 " Keywords
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syn keyword gkrellmrcGlobal allow_scaling author chart_width_ref theme_alternatives
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn keyword gkrellmrcSetCmd set_image_border set_integer set_string
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syn keyword gkrellmrcGlobal bg_slider_meter_border bg_slider_panel_border
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn keyword gkrellmrcGlobal chart_in_color chart_in_color_grid chart_out_color chart_out_color_grid
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 syn keyword gkrellmrcGlobal bg_separator_height bg_grid_mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 syn keyword gkrellmrcGlobal rx_led_x rx_led_y tx_led_x tx_led_y
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syn keyword gkrellmrcGlobal decal_mail_frames decal_mail_delay
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 syn keyword gkrellmrcGlobal decal_alarm_frames decal_warn_frames
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 syn keyword gkrellmrcGlobal krell_slider_depth krell_slider_expand krell_slider_x_hot
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 syn keyword gkrellmrcGlobal button_panel_border button_meter_border
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 syn keyword gkrellmrcGlobal large_font normal_font small_font
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 syn keyword gkrellmrcExpandMode left right bar-mode left-scaled right-scaled bar-mode-scaled
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 syn keyword gkrellmrcMeterName apm cal clock fs host mail mem swap timer sensors uptime
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 syn keyword gkrellmrcChartName cpu proc disk inet and net
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syn match gkrellmrcSpecialClassName "\*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 syn keyword gkrellmrcStyleCmd StyleMeter StyleChart StylePanel
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
52 hi def link gkrellmrcComment Comment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
53 hi def link gkrellmrcFixme Todo
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
55 hi def link gkrellmrcString gkrellmrcConstant
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
56 hi def link gkrellmrcNumber gkrellmrcConstant
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
57 hi def link gkrellmrcRGBColor gkrellmrcConstant
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
58 hi def link gkrellmrcExpandMode gkrellmrcConstant
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
59 hi def link gkrellmrcConstant Constant
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
61 hi def link gkrellmrcMeterName gkrellmrcClass
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
62 hi def link gkrellmrcChartName gkrellmrcClass
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
63 hi def link gkrellmrcSpecialClassName gkrellmrcClass
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
64 hi def link gkrellmrcClass Type
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
66 hi def link gkrellmrcGlobal gkrellmrcItem
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
67 hi def link gkrellmrcBuiltinExt gkrellmrcItem
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
68 hi def link gkrellmrcStyleItem gkrellmrcItem
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
69 hi def link gkrellmrcItem Function
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
71 hi def link gkrellmrcSetCmd Special
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
72 hi def link gkrellmrcStyleCmd Statement
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 let b:current_syntax = "gkrellmrc"