X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=extras%2Fvim%2Fsyntax%2Fconkyrc.vim;h=3ca9a0c6661b59c2f5f11c620016c1443e51e30b;hb=aad43bea8d3840babb502d939be324ba49c3b74e;hp=43a9c022c6e3b0a43962cf7dfbee459966831aea;hpb=ef9255e22b263a25dc5979fb619644e69f90aec6;p=monky diff --git a/extras/vim/syntax/conkyrc.vim b/extras/vim/syntax/conkyrc.vim index 43a9c02..3ca9a0c 100644 --- a/extras/vim/syntax/conkyrc.vim +++ b/extras/vim/syntax/conkyrc.vim @@ -1,86 +1,46 @@ " Vim syntax file -" Language: conkyrc -" Author: Ciaran McCreesh -" Version: 20060307 -" Copyright: Copyright (c) 2005 Ciaran McCreesh -" Licence: You may redistribute this under the same terms as Vim itself +" Language: conkyrc +" Author: Ciaran McCreesh +" Version: 20060307 +" Copyright: Copyright (c) 2005 Ciaran McCreesh +" Licence: You may redistribute this under the same terms as Vim itself " -" $Id$ if exists("b:current_syntax") - finish + finish endif syn region ConkyrcComment start=/^\s*#/ end=/$/ -syn keyword ConkyrcSetting - \ alignment - \ background - \ border_margin - \ border_width - \ cpu_avg_samples - \ default_color - \ default_outline_color - \ default_shade_color - \ double_buffer - \ draw_borders - \ draw_graph_borders - \ draw_outline - \ draw_shades - \ font - \ gap_x - \ gap_y - \ mail_spool - \ max_user_text - \ maximum_width - \ minimum_size - \ min_port_monitor_connections - \ min_port_monitors - \ mpd_host - \ mpd_password - \ mpd_port - \ net_avg_samples - \ no_buffers - \ out_to_console - \ override_utf8_locale - \ own_window - \ own_window_colour - \ own_window_hints - \ own_window_transparent - \ own_window_type - \ pad_percents - \ stippled_borders - \ total_run_times - \ update_interval - \ uppercase - \ use_spacer - \ use_xft - \ wm_class_name - \ xftalpha - \ xftfont +syn keyword ConkyrcSetting alignment append_file background border_inner_margin border_outer_margin border_width color0 color1 color2 color3 color4 color5 color6 color7 color8 color9 colorN cpu_avg_samples default_bar_size default_color default_gauge_size default_graph_size default_outline_color default_shade_color diskio_avg_samples display double_buffer draw_borders draw_graph_borders draw_outline draw_shades extra_newline font format_human_readable gap_x gap_y if_up_strictness imap imlib_cache_flush_interval imlib_cache_size lua_draw_hook_post lua_draw_hook_pre lua_load lua_shutdown_hook lua_startup_hook mail_spool max_port_monitor_connections max_specials max_user_text maximum_width minimum_size mpd_host mpd_password mpd_port music_player_interval net_avg_samples no_buffers out_to_console out_to_ncurses out_to_stderr out_to_x override_utf8_locale overwrite_file own_window own_window_class own_window_colour own_window_hints own_window_title own_window_transparent own_window_type pad_percents pop3 sensor_device short_units show_graph_range show_graph_scale stippled_borders temperature_unit template template0 template1 template2 template3 template4 template5 template6 template7 template8 template9 text text_buffer_size top_cpu_separate top_name_width total_run_times update_interval update_interval_on_battery uppercase use_spacer use_xft xftalpha xftfont -syn keyword ConkyrcConstant - \ above - \ below - \ bottom_left - \ bottom_right - \ desktop - \ no - \ none - \ normal - \ override - \ skip_pager - \ skip_taskbar - \ sticky - \ top_left - \ top_right - \ undecorated - \ yes +syn keyword ConkyrcConstant + \ above + \ below + \ bottom_left + \ bottom_right + \ bottom_middle + \ desktop + \ dock + \ no + \ none + \ normal + \ override + \ skip_pager + \ skip_taskbar + \ sticky + \ top_left + \ top_right + \ top_middle + \ middle_left + \ middle_right + \ undecorated + \ yes syn match ConkyrcNumber /\S\@