188 lines · 10.2 KB · Text
RawDownload
" Vim syntax file" Language:         elinks(1) configuration file" Maintainer:       Nikolai Weibull <now@bitwi.se>" Latest Revision:  2006-04-19 if exists("b:current_syntax")  finishendif let s:cpo_save = &cposet cpo&vim setlocal iskeyword=@,48-57,_,- syn keyword elinksTodo      contained TODO FIXME XXX NOTE syn region  elinksComment   display oneline start='#' end='$'                            \ contains=elinksTodo,@Spell syn match   elinksNumber    '\<\d\+\>' syn region  elinksString    start=+"+ skip=+\\\\\|\\"+ end=+"+                            \ contains=@elinksColor syn keyword elinksKeyword   set bind syn keyword elinksPrefix    bookmarkssyn keyword elinksOptions   file_format syn keyword elinksPrefix    configsyn keyword elinksOptions   comments indentation saving_style i18n                            \ saving_style_w show_template syn keyword elinksPrefix    connection ssl client_certsyn keyword elinksOptions   enable file cert_verify async_dns max_connections                            \ max_connections_to_host receive_timeout retries                            \ unrestartable_receive_timeout syn keyword elinksPrefix    cookiessyn keyword elinksOptions   accept_policy max_age paranoid_security save resave syn keyword elinksPrefix    document browse accesskey forms images linkssyn keyword elinksPrefix    active_link colors search cache codepage colorssyn keyword elinksPrefix    format memory download dump history global htmlsyn keyword elinksPrefix    plainsyn keyword elinksOptions   auto_follow priority auto_submit confirm_submit                            \ input_size show_formhist file_tags                            \ image_link_tagging image_link_prefix                            \ image_link_suffix show_as_links                            \ show_any_as_links background text enable_color                            \ bold invert underline color_dirs numbering                            \ use_tabindex number_keys_select_link                            \ wraparound case regex show_hit_top_bottom                            \ wraparound show_not_found margin_width refresh                            \ minimum_refresh_time scroll_margin scroll_step                            \ table_move_order size size cache_redirects                            \ ignore_cache_control assume force_assumed text                            \ background link vlink dirs allow_dark_on_black                            \ ensure_contrast use_document_colors directory                            \ set_original_time overwrite notify_bell                            \ codepage width enable max_items display_type                            \ write_interval keep_unhistory display_frames                            \ display_tables expand_table_columns display_subs                            \ display_sups link_display underline_links                            \ wrap_nbsp display_links compress_empty_lines syn keyword elinksPrefix    mime extension handler mailcap mimetypes typesyn keyword elinksOptions   ask block program enable path ask description                            \ prioritize enable path default_type syn keyword elinksPrefix    protocol file cgi ftp proxy http bugs proxysyn keyword elinksPrefix    referer https proxy rewrite dumb smartsyn keyword elinksOptions   path policy allow_special_files show_hidden_files                            \ try_encoding_extensions host anon_passwd                            \ use_pasv use_epsv accept_charset allow_blacklist                            \ broken_302_redirect post_no_keepalive http10                            \ host user passwd policy fake accept_language                            \ accept_ui_language trace user_agent host                            \ enable-dumb enable-smart syn keyword elinksPrefix    terminalsyn keyword elinksOptions   type m11_hack utf_8_io restrict_852 block_cursor                            \ colors transparency underline charset syn keyword elinksPrefix    ui colors color mainmenu normal selected hotkey                            \ menu marked hotkey frame dialog generic                            \ frame scrollbar scrollbar-selected title text                            \ checkbox checkbox-label button button-selected                            \ field field-text meter shadow title title-bar                            \ title-text status status-bar status-text tabs                            \ unvisited normal loading separator searched monosyn keyword elinksOptions   text background syn keyword elinksPrefix    ui dialogs leds sessions tabs timersyn keyword elinksOptions   listbox_min_height shadows underline_hotkeys enable                            \ auto_save auto_restore auto_save_foldername                            \ homepage show_bar wraparound confirm_close                            \ enable duration action language show_status_bar                            \ show_title_bar startup_goto_dialog                            \ success_msgbox window_title syn keyword elinksOptions   secure_file_saving syn cluster elinksColor     contains=elinksColorBlack,elinksColorDarkRed,                            \ elinksColorDarkGreen,elinksColorDarkYellow,                            \ elinksColorDarkBlue,elinksColorDarkMagenta,                            \ elinksColorDarkCyan,elinksColorGray,                            \ elinksColorDarkGray,elinksColorRed,                            \ elinksColorGreen,elinksColorYellow,                            \ elinksColorBlue,elinksColorMagenta,                            \ elinksColorCyan,elinksColorWhite syn keyword elinksColorBlack        contained blacksyn keyword elinksColorDarkRed      contained darkred sandybrown maroon crimson                                    \ firebricksyn keyword elinksColorDarkGreen    contained darkgreen darkolivegreen                                    \ darkseagreen forestgreen                                    \ mediumspringgreen seagreensyn keyword elinksColorDarkYellow   contained brown blanchedalmond chocolate                                    \ darkorange darkgoldenrod orange rosybrown                                    \ saddlebrown peru olive olivedrab siennasyn keyword elinksColorDarkBlue     contained darkblue cadetblue cornflowerblue                                    \ darkslateblue deepskyblue midnightblue                                    \ royalblue steelblue navysyn keyword elinksColorDarkMagenta  contained darkmagenta mediumorchid                                    \ mediumpurple mediumslateblue slateblue                                    \ deeppink hotpink darkorchid orchid purple                                    \ indigosyn keyword elinksColorDarkCyan     contained darkcyan mediumaquamarine                                    \ mediumturquoise darkturquoise tealsyn keyword elinksColorGray         contained silver dimgray lightslategray                                    \ slategray lightgrey burlywood plum tan                                    \ thistlesyn keyword elinksColorDarkGray     contained gray darkgray darkslategray                                    \ darksalmonsyn keyword elinksColorRed          contained red indianred orangered tomato                                    \ lightsalmon salmon coral lightcoralsyn keyword elinksColorGreen        contained green greenyellow lawngreen                                    \ lightgreen lightseagreen limegreen                                    \ mediumseagreen springgreen yellowgreen                                    \ palegreen lime chartreusesyn keyword elinksColorYellow       contained yellow beige darkkhaki                                    \ lightgoldenrodyellow palegoldenrod gold                                    \ goldenrod khaki lightyellowsyn keyword elinksColorBlue         contained blue aliceblue aqua aquamarine                                    \ azure dodgerblue lightblue lightskyblue                                    \ lightsteelblue mediumbluesyn keyword elinksColorMagenta      contained magenta darkviolet blueviolet                                    \ lightpink mediumvioletred palevioletred                                    \ violet pink fuchsiasyn keyword elinksColorCyan         contained cyan lightcyan powderblue skyblue                                    \ turquoise paleturquoisesyn keyword elinksColorWhite        contained white antiquewhite floralwhite                                    \ ghostwhite navajowhite whitesmoke linen                                    \ lemonchiffon cornsilk lavender                                    \ lavenderblush seashell mistyrose ivory                                    \ papayawhip bisque gainsboro honeydew                                    \ mintcream moccasin oldlace peachpuff snow                                    \ wheat hi def link elinksTodo              Todohi def link elinksComment           Commenthi def link elinksNumber            Numberhi def link elinksString            Stringhi def link elinksKeyword           Keywordhi def link elinksPrefix            Identifierhi def link elinksOptions           Identifierhi def      elinksColorBlack        ctermfg=Black       guifg=Blackhi def      elinksColorDarkRed      ctermfg=DarkRed     guifg=DarkRedhi def      elinksColorDarkGreen    ctermfg=DarkGreen   guifg=DarkGreenhi def      elinksColorDarkYellow   ctermfg=DarkYellow  guifg=DarkYellowhi def      elinksColorDarkBlue     ctermfg=DarkBlue    guifg=DarkBluehi def      elinksColorDarkMagenta  ctermfg=DarkMagenta guifg=DarkMagentahi def      elinksColorDarkCyan     ctermfg=DarkCyan    guifg=DarkCyanhi def      elinksColorGray         ctermfg=Gray        guifg=Grayhi def      elinksColorDarkGray     ctermfg=DarkGray    guifg=DarkGrayhi def      elinksColorRed          ctermfg=Red         guifg=Redhi def      elinksColorGreen        ctermfg=Green       guifg=Greenhi def      elinksColorYellow       ctermfg=Yellow      guifg=Yellowhi def      elinksColorBlue         ctermfg=Blue        guifg=Bluehi def      elinksColorMagenta      ctermfg=Magenta     guifg=Magentahi def      elinksColorCyan         ctermfg=Cyan        guifg=Cyanhi def      elinksColorWhite        ctermfg=White       guifg=White let b:current_syntax = "elinks" let &cpo = s:cpo_saveunlet s:cpo_save