annotate runtime/syntax/gkrellmrc.vim @ 2448:628147a4b3b2 vim73

Fix: on MS-Windows the "open with..." menu starts Vim without a file.
author Bram Moolenaar <bram@vim.org>
date Sat, 31 Jul 2010 20:53:54 +0200
parents 3fc0f57ecb91
children 43efa4f5a8ea
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 if version >= 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 if exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 syntax clear
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 if version >= 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 setlocal iskeyword=_,-,a-z,A-Z,48-57
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 set iskeyword=_,-,a-z,A-Z,48-57
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn case match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 " Base constructs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn match gkrellmrcComment "#.*$" contains=gkrellmrcFixme
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn keyword gkrellmrcFixme FIXME TODO XXX NOT contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syn region gkrellmrcString start=+"+ skip=+\\\\\|\\"+ end=+"+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syn match gkrellmrcNumber "^-\=\(\d\+\)\=\.\=\d\+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn match gkrellmrcNumber "\W-\=\(\d\+\)\=\.\=\d\+"lc=1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syn keyword gkrellmrcConstant none
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 syn match gkrellmrcRGBColor "#\(\x\{12}\|\x\{9}\|\x\{6}\|\x\{3}\)\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 " Keywords
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 syn keyword gkrellmrcGlobal allow_scaling author chart_width_ref theme_alternatives
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syn keyword gkrellmrcSetCmd set_image_border set_integer set_string
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 syn keyword gkrellmrcGlobal bg_slider_meter_border bg_slider_panel_border
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 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
42 syn keyword gkrellmrcGlobal bg_separator_height bg_grid_mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 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
44 syn keyword gkrellmrcGlobal decal_mail_frames decal_mail_delay
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 syn keyword gkrellmrcGlobal decal_alarm_frames decal_warn_frames
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syn keyword gkrellmrcGlobal krell_slider_depth krell_slider_expand krell_slider_x_hot
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 syn keyword gkrellmrcGlobal button_panel_border button_meter_border
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 syn keyword gkrellmrcGlobal large_font normal_font small_font
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 syn keyword gkrellmrcExpandMode left right bar-mode left-scaled right-scaled bar-mode-scaled
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 syn keyword gkrellmrcMeterName apm cal clock fs host mail mem swap timer sensors uptime
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 syn keyword gkrellmrcChartName cpu proc disk inet and net
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 syn match gkrellmrcSpecialClassName "\*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 syn keyword gkrellmrcStyleCmd StyleMeter StyleChart StylePanel
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 " Define the default highlighting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 if version >= 508 || !exists("did_gtkrc_syntax_inits")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 if version < 508
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 let did_gtkrc_syntax_inits = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 command -nargs=+ HiLink hi link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 command -nargs=+ HiLink hi def link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 HiLink gkrellmrcComment Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 HiLink gkrellmrcFixme Todo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 HiLink gkrellmrcString gkrellmrcConstant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 HiLink gkrellmrcNumber gkrellmrcConstant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 HiLink gkrellmrcRGBColor gkrellmrcConstant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 HiLink gkrellmrcExpandMode gkrellmrcConstant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 HiLink gkrellmrcConstant Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 HiLink gkrellmrcMeterName gkrellmrcClass
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 HiLink gkrellmrcChartName gkrellmrcClass
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 HiLink gkrellmrcSpecialClassName gkrellmrcClass
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 HiLink gkrellmrcClass Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 HiLink gkrellmrcGlobal gkrellmrcItem
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 HiLink gkrellmrcBuiltinExt gkrellmrcItem
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 HiLink gkrellmrcStyleItem gkrellmrcItem
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 HiLink gkrellmrcItem Function
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 HiLink gkrellmrcSetCmd Special
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 HiLink gkrellmrcStyleCmd Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 delcommand HiLink
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 let b:current_syntax = "gkrellmrc"