91 lines · 4.2 KB · Text
RawDownload
" Vim syntax file" This is a GENERATED FILE. Please always refer to source file at the URI below." Language: gkrellm theme files `gkrellmrc'" Maintainer: David Ne\v{c}as (Yeti) <yeti@physics.muni.cz>" Last Change: 2003-04-30" URL: http://trific.ath.cx/Ftp/vim/syntax/gkrellmrc.vim " Setupif version >= 600	if exists("b:current_syntax")		finish	endifelse	syntax clearendif if version >= 600	setlocal iskeyword=_,-,a-z,A-Z,48-57else	set iskeyword=_,-,a-z,A-Z,48-57endif syn case match " Base constructssyn match gkrellmrcComment "#.*$" contains=gkrellmrcFixmesyn keyword gkrellmrcFixme FIXME TODO XXX NOT containedsyn region gkrellmrcString start=+"+ skip=+\\\\\|\\"+ end=+"+ onelinesyn match gkrellmrcNumber "^-\=\(\d\+\)\=\.\=\d\+"syn match gkrellmrcNumber "\W-\=\(\d\+\)\=\.\=\d\+"lc=1syn keyword gkrellmrcConstant nonesyn match gkrellmrcRGBColor "#\(\x\{12}\|\x\{9}\|\x\{6}\|\x\{3}\)\>" " Keywordssyn 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_timersyn keyword gkrellmrcGlobal allow_scaling author chart_width_ref theme_alternativessyn keyword gkrellmrcSetCmd set_image_border set_integer set_stringsyn keyword gkrellmrcGlobal bg_slider_meter_border bg_slider_panel_bordersyn 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_offsyn 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_bordersyn keyword gkrellmrcGlobal chart_in_color chart_in_color_grid chart_out_color chart_out_color_gridsyn keyword gkrellmrcGlobal bg_separator_height bg_grid_modesyn keyword gkrellmrcGlobal rx_led_x rx_led_y tx_led_x tx_led_ysyn keyword gkrellmrcGlobal decal_mail_frames decal_mail_delaysyn keyword gkrellmrcGlobal decal_alarm_frames decal_warn_framessyn keyword gkrellmrcGlobal krell_slider_depth krell_slider_expand krell_slider_x_hotsyn keyword gkrellmrcGlobal button_panel_border button_meter_bordersyn keyword gkrellmrcGlobal large_font normal_font small_fontsyn keyword gkrellmrcGlobal spacer_bottom_height spacer_top_height spacer_bottom_height_chart spacer_top_height_chart spacer_bottom_height_meter spacer_top_height_metersyn keyword gkrellmrcExpandMode left right bar-mode left-scaled right-scaled bar-mode-scaledsyn keyword gkrellmrcMeterName apm cal clock fs host mail mem swap timer sensors uptimesyn keyword gkrellmrcChartName cpu proc disk inet and netsyn match gkrellmrcSpecialClassName "\*"syn keyword gkrellmrcStyleCmd StyleMeter StyleChart StylePanelsyn 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 " Define the default highlightingif version >= 508 || !exists("did_gtkrc_syntax_inits")	if version < 508		let did_gtkrc_syntax_inits = 1		command -nargs=+ HiLink hi link <args>	else		command -nargs=+ HiLink hi def link <args>	endif 	HiLink gkrellmrcComment Comment	HiLink gkrellmrcFixme Todo 	HiLink gkrellmrcString gkrellmrcConstant	HiLink gkrellmrcNumber gkrellmrcConstant	HiLink gkrellmrcRGBColor gkrellmrcConstant	HiLink gkrellmrcExpandMode gkrellmrcConstant	HiLink gkrellmrcConstant Constant 	HiLink gkrellmrcMeterName gkrellmrcClass	HiLink gkrellmrcChartName gkrellmrcClass	HiLink gkrellmrcSpecialClassName gkrellmrcClass	HiLink gkrellmrcClass Type 	HiLink gkrellmrcGlobal gkrellmrcItem	HiLink gkrellmrcBuiltinExt gkrellmrcItem	HiLink gkrellmrcStyleItem gkrellmrcItem	HiLink gkrellmrcItem Function 	HiLink gkrellmrcSetCmd Special	HiLink gkrellmrcStyleCmd Statement 	delcommand HiLinkendif let b:current_syntax = "gkrellmrc"