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
10 if exists("b:current_syntax")
18 setlocal iskeyword=_,-,a-z,A-Z,48-57
20 set iskeyword=_,-,a-z,A-Z,48-57
26 syn match gkrellmrcComment "#.*$" contains=gkrellmrcFixme
27 syn keyword gkrellmrcFixme FIXME TODO XXX NOT contained
28 syn region gkrellmrcString start=+"+ skip=+\\\\\|\\"+ end=+"+ oneline
29 syn match gkrellmrcNumber "^-\=\(\d\+\)\=\.\=\d\+"
30 syn match gkrellmrcNumber "\W-\=\(\d\+\)\=\.\=\d\+"lc=1
31 syn keyword gkrellmrcConstant none
32 syn match gkrellmrcRGBColor "#\(\x\{12}\|\x\{9}\|\x\{6}\|\x\{3}\)\>"
35 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
36 syn keyword gkrellmrcGlobal allow_scaling author chart_width_ref theme_alternatives
37 syn keyword gkrellmrcSetCmd set_image_border set_integer set_string
38 syn keyword gkrellmrcGlobal bg_slider_meter_border bg_slider_panel_border
39 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
40 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
41 syn keyword gkrellmrcGlobal chart_in_color chart_in_color_grid chart_out_color chart_out_color_grid
42 syn keyword gkrellmrcGlobal bg_separator_height bg_grid_mode
43 syn keyword gkrellmrcGlobal rx_led_x rx_led_y tx_led_x tx_led_y
44 syn keyword gkrellmrcGlobal decal_mail_frames decal_mail_delay
45 syn keyword gkrellmrcGlobal decal_alarm_frames decal_warn_frames
46 syn keyword gkrellmrcGlobal krell_slider_depth krell_slider_expand krell_slider_x_hot
47 syn keyword gkrellmrcGlobal button_panel_border button_meter_border
48 syn keyword gkrellmrcGlobal large_font normal_font small_font
49 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
50 syn keyword gkrellmrcExpandMode left right bar-mode left-scaled right-scaled bar-mode-scaled
51 syn keyword gkrellmrcMeterName apm cal clock fs host mail mem swap timer sensors uptime
52 syn keyword gkrellmrcChartName cpu proc disk inet and net
53 syn match gkrellmrcSpecialClassName "\*"
54 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
57 " Define the default highlighting
58 if version >= 508 || !exists("did_gtkrc_syntax_inits")
60 let did_gtkrc_syntax_inits = 1
61 command -nargs=+ HiLink hi link <args>
63 command -nargs=+ HiLink hi def link <args>
66 HiLink gkrellmrcComment Comment
67 HiLink gkrellmrcFixme Todo
69 HiLink gkrellmrcString gkrellmrcConstant
70 HiLink gkrellmrcNumber gkrellmrcConstant
71 HiLink gkrellmrcRGBColor gkrellmrcConstant
72 HiLink gkrellmrcExpandMode gkrellmrcConstant
73 HiLink gkrellmrcConstant Constant
75 HiLink gkrellmrcMeterName gkrellmrcClass
76 HiLink gkrellmrcChartName gkrellmrcClass
77 HiLink gkrellmrcSpecialClassName gkrellmrcClass
78 HiLink gkrellmrcClass Type
80 HiLink gkrellmrcGlobal gkrellmrcItem
81 HiLink gkrellmrcBuiltinExt gkrellmrcItem
82 HiLink gkrellmrcStyleItem gkrellmrcItem
83 HiLink gkrellmrcItem Function
85 HiLink gkrellmrcSetCmd Special
86 HiLink gkrellmrcStyleCmd Statement
91 let b:current_syntax = "gkrellmrc"