annotate runtime/syntax/lynx.vim @ 10611:6bff81438f27 v8.0.0195

patch 8.0.0195: fail to jump to static tag in current file commit https://github.com/vim/vim/commit/a9d23c20879d0dcb289a4db54b3c7df060f87c3c Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 16 20:53:34 2017 +0100 patch 8.0.0195: fail to jump to static tag in current file Problem: Jumping to a tag that is a static item in the current file fails. (Kazunobu Kuriyama) Solution: Make sure the first byte of the tag key is not NUL. (Suggested by James McCoy, closes #1387)
author Christian Brabandt <cb@256bit.org>
date Mon, 16 Jan 2017 21:00:04 +0100
parents 42bf9264e64e
children da55eac05ef7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 36
diff changeset
1 " Vim syntax file
e63691e7c504 updated for version 7.1a
vimboss
parents: 36
diff changeset
2 " Language: Lynx configuration file (lynx.cfg)
e63691e7c504 updated for version 7.1a
vimboss
parents: 36
diff changeset
3 " Maintainer: Doug Kearns <dougkearns@gmail.com>
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
4 " Last Change: 2013 Jun 20
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
6 " Lynx 2.8.7
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 36
diff changeset
8 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 36
diff changeset
12 let s:cpo_save = &cpo
e63691e7c504 updated for version 7.1a
vimboss
parents: 36
diff changeset
13 set cpo&vim
e63691e7c504 updated for version 7.1a
vimboss
parents: 36
diff changeset
14
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
15 syn match lynxStart "^" transparent skipwhite nextgroup=lynxOption
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
17 syn match lynxComment "\(^\|\s\+\)#.*$" contains=lynxTodo
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
19 syn keyword lynxTodo TODO NOTE FIXME XXX contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
21 syn match lynxDelimiter ":" skipwhite nextgroup=lynxBoolean,lynxNumber,lynxNone,lynxRCOption
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn case ignore
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
24 syn keyword lynxBoolean TRUE FALSE ON OFF contained
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
25 syn keyword lynxNone NONE contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn case match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
28 syn match lynxNumber "-\=\<\d\+\>" contained
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
29
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
30 "{{{ Options
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
31 syn case ignore
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
32 syn keyword lynxOption ACCEPT_ALL_COOKIES ALERTSECS ALWAYS_RESUBMIT_POSTS
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
33 \ ALWAYS_TRUSTED_EXEC ANONFTP_PASSWORD ASSUMED_COLOR
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
34 \ ASSUMED_DOC_CHARSET_CHOICE ASSUME_CHARSET ASSUME_LOCAL_CHARSET
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
35 \ ASSUME_UNREC_CHARSET AUTO_SESSION AUTO_UNCACHE_DIRLISTS BAD_HTML
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
36 \ BIBP_BIBHOST BIBP_GLOBAL_SERVER BLOCK_MULTI_BOOKMARKS BOLD_H1
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
37 \ BOLD_HEADERS BOLD_NAME_ANCHORS BOOKMARK_FILE BROKEN_FTP_EPSV
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
38 \ BROKEN_FTP_RETR BZIP2_PATH CASE_SENSITIVE_ALWAYS_ON
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
39 \ CASE_SENSITIVE_SEARCHING CHARACTER_SET CHARSETS_DIRECTORY
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
40 \ CHARSET_SWITCH_RULES CHECKMAIL CHMOD_PATH COLLAPSE_BR_TAGS COLOR
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
41 \ COLOR_STYLE COMPRESS_PATH CONNECT_TIMEOUT COOKIE_ACCEPT_DOMAINS
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
42 \ COOKIE_FILE COOKIE_LOOSE_INVALID_DOMAINS
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
43 \ COOKIE_QUERY_INVALID_DOMAINS COOKIE_REJECT_DOMAINS COOKIE_SAVE_FILE
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
44 \ COOKIE_STRICT_INVALID_DOMAINS COPY_PATH CSO_PROXY CSWING_PATH
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
45 \ DEBUGSECS DEFAULT_BOOKMARK_FILE DEFAULT_CACHE_SIZE DEFAULT_COLORS
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
46 \ DEFAULT_EDITOR DEFAULT_INDEX_FILE DEFAULT_KEYPAD_MODE
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
47 \ DEFAULT_KEYPAD_MODE_IS_NUMBERS_AS_ARROWS DEFAULT_USER_MODE
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
48 \ DEFAULT_VIRTUAL_MEMORY_SIZE DELAYSECS DIRED_MENU DIR_LIST_ORDER
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
49 \ DIR_LIST_STYLE DISPLAY DISPLAY_CHARSET_CHOICE DOWNLOADER EMACS_KEYS
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
50 \ EMACS_KEYS_ALWAYS_ON ENABLE_LYNXRC ENABLE_SCROLLBACK EXTERNAL
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
51 \ FILE_EDITOR FILE_SORTING_METHOD FINGER_PROXY FOCUS_WINDOW
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
52 \ FORCE_8BIT_TOUPPER FORCE_COOKIE_PROMPT FORCE_EMPTY_HREFLESS_A
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
53 \ FORCE_SSL_COOKIES_SECURE FORCE_SSL_PROMPT FORMS_OPTIONS FTP_FORMAT
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
54 \ FTP_PASSIVE FTP_PROXY GLOBAL_EXTENSION_MAP GLOBAL_MAILCAP
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
55 \ GOPHER_PROXY GOTOBUFFER GZIP_PATH HELPFILE HIDDEN_LINK_MARKER
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
56 \ HISTORICAL_COMMENTS HTMLSRC_ATTRNAME_XFORM HTMLSRC_TAGNAME_XFORM
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
57 \ HTTPS_PROXY HTTP_PROXY INCLUDE INFLATE_PATH INFOSECS INSTALL_PATH
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
58 \ JUMPBUFFER JUMPFILE JUMP_PROMPT JUSTIFY JUSTIFY_MAX_VOID_PERCENT
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
59 \ KBLAYOUT KEYBOARD_LAYOUT KEYMAP KEYPAD_MODE
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
60 \ LEFTARROW_IN_TEXTFIELD_PROMPT LINEEDIT_MODE LIST_FORMAT
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
61 \ LIST_NEWS_DATES LIST_NEWS_NUMBERS LOCALE_CHARSET LOCALHOST_ALIAS
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
62 \ LOCAL_DOMAIN LOCAL_EXECUTION_LINKS_ALWAYS_ON
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
63 \ LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE LYNXCGI_DOCUMENT_ROOT
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
64 \ LYNXCGI_ENVIRONMENT LYNX_HOST_NAME LYNX_SIG_FILE MAIL_ADRS
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
65 \ MAIL_SYSTEM_ERROR_LOGGING MAKE_LINKS_FOR_ALL_IMAGES
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
66 \ MAKE_PSEUDO_ALTS_FOR_INLINES MAX_COOKIES_BUFFER MAX_COOKIES_DOMAIN
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
67 \ MAX_COOKIES_GLOBAL MESSAGESECS MINIMAL_COMMENTS MKDIR_PATH
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
68 \ MULTI_BOOKMARK MULTI_BOOKMARK_SUPPORT MV_PATH NCR_IN_BOOKMARKS
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
69 \ NESTED_TABLES NEWSPOST_PROXY NEWSREPLY_PROXY NEWS_CHUNK_SIZE
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
70 \ NEWS_MAX_CHUNK NEWS_POSTING NEWS_PROXY NNTPSERVER NNTP_PROXY
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
71 \ NONRESTARTING_SIGWINCH NO_DOT_FILES NO_FILE_REFERER
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
72 \ NO_FORCED_CORE_DUMP NO_FROM_HEADER NO_ISMAP_IF_USEMAP NO_MARGINS
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
73 \ NO_PAUSE NO_PROXY NO_REFERER_HEADER NO_TABLE_CENTER NO_TITLE
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
74 \ NUMBER_FIELDS_ON_LEFT NUMBER_LINKS_ON_LEFT OUTGOING_MAIL_CHARSET
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
75 \ PARTIAL PARTIAL_THRES PERSISTENT_COOKIES PERSONAL_EXTENSION_MAP
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
76 \ PERSONAL_MAILCAP PERSONAL_MAIL_ADDRESS POSITIONABLE_EDITOR
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
77 \ PREFERRED_CHARSET PREFERRED_ENCODING PREFERRED_LANGUAGE
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
78 \ PREFERRED_MEDIA_TYPES PREPEND_BASE_TO_SOURCE
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
79 \ PREPEND_CHARSET_TO_SOURCE PRETTYSRC PRETTYSRC_SPEC
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
80 \ PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING PRINTER QUIT_DEFAULT_YES RAW_MODE
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
81 \ READ_TIMEOUT REFERER_WITH_QUERY REPLAYSECS REUSE_TEMPFILES
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
82 \ RLOGIN_PATH RM_PATH RMDIR_PATH RULE RULESFILE
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
83 \ RUN_ALL_EXECUTION_LINKS RUN_EXECUTION_LINKS_LOCAL SAVE_SPACE
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
84 \ SCAN_FOR_BURIED_NEWS_REFS SCREEN_SIZE SCROLLBAR SCROLLBAR_ARROW
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
85 \ SEEK_FRAG_AREA_IN_CUR SEEK_FRAG_MAP_IN_CUR SELECT_POPUPS
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
86 \ SEND_USERAGENT SESSION_FILE SESSION_LIMIT SET_COOKIES SETFONT_PATH
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
87 \ SHOW_COLOR SHOW_CURSOR SHOW_DOTFILES SHOW_KB_NAME SHOW_KB_RATE
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
88 \ SNEWSPOST_PROXY SNEWSREPLY_PROXY SNEWS_PROXY SOFT_DQUOTES
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
89 \ SOURCE_CACHE SOURCE_CACHE_FOR_ABORTED SSL_CERT_FILE STARTFILE
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
90 \ STATUS_BUFFER_SIZE STRIP_DOTDOT_URLS SUBSTITUTE_UNDERSCORES
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
91 \ SUB_BOOKMARKS SUFFIX SUFFIX_ORDER SYSLOG_REQUESTED_URLS SYSLOG_TEXT
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
92 \ SYSTEM_EDITOR SYSTEM_MAIL SYSTEM_MAIL_FLAGS TAGSOUP TAR_PATH
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
93 \ TELNET_PATH TEXTFIELDS_NEED_ACTIVATION TIMEOUT TN3270_PATH
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
94 \ TOUCH_PATH TRIM_INPUT_FIELDS TRUSTED_EXEC TRUSTED_LYNXCGI
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
95 \ UNCOMPRESS_PATH UNDERLINE_LINKS UNZIP_PATH UPLOADER
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
96 \ URL_DOMAIN_PREFIXES URL_DOMAIN_SUFFIXES USERAGENT USER_MODE
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
97 \ USE_FIXED_RECORDS USE_MOUSE USE_SELECT_POPUPS UUDECODE_PATH
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
98 \ VERBOSE_IMAGES VIEWER VISITED_LINKS VI_KEYS VI_KEYS_ALWAYS_ON
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
99 \ WAIS_PROXY XHTML_PARSING XLOADIMAGE_COMMAND ZCAT_PATH ZIP_PATH
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
100 \ contained nextgroup=lynxDelimiter
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
101 syn keyword lynxRCOption accept_all_cookies assume_charset auto_session
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
102 \ bookmark_file case_sensitive_searching character_set
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
103 \ cookie_accept_domains cookie_file cookie_loose_invalid_domains
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
104 \ cookie_query_invalid_domains cookie_reject_domains
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
105 \ cookie_strict_invalid_domains dir_list_style display emacs_keys
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
106 \ file_editor file_sorting_method force_cookie_prompt force_ssl_prompt
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
107 \ ftp_passive kblayout keypad_mode lineedit_mode locale_charset
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
108 \ make_links_for_all_images make_pseudo_alts_for_inlines
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
109 \ multi_bookmark no_pause personal_mail_address preferred_charset
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
110 \ preferred_encoding preferred_language preferred_media_types raw_mode
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
111 \ run_all_execution_links run_execution_links_on_local_files scrollbar
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
112 \ select_popups send_useragent session_file set_cookies show_color
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
113 \ show_cursor show_dotfiles show_kb_rate sub_bookmarks tagsoup
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
114 \ underline_links user_mode useragent verbose_images vi_keys
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
115 \ visited_links
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
116 \ contained nextgroup=lynxDelimiter
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
117 syn case match
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
118 " }}}
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
119
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
120 " cfg2html.pl formatting directives
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
121 syn match lynxFormatDir "^\.h\d\s.*$"
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
122 syn match lynxFormatDir "^\.\(ex\|nf\)\(\s\+\d\+\)\=$"
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
123 syn match lynxFormatDir "^\.fi$"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 36
diff changeset
125 hi def link lynxBoolean Boolean
e63691e7c504 updated for version 7.1a
vimboss
parents: 36
diff changeset
126 hi def link lynxComment Comment
e63691e7c504 updated for version 7.1a
vimboss
parents: 36
diff changeset
127 hi def link lynxDelimiter Special
e63691e7c504 updated for version 7.1a
vimboss
parents: 36
diff changeset
128 hi def link lynxFormatDir Special
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
129 hi def link lynxNone Constant
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 36
diff changeset
130 hi def link lynxNumber Number
e63691e7c504 updated for version 7.1a
vimboss
parents: 36
diff changeset
131 hi def link lynxOption Identifier
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
132 hi def link lynxRCOption lynxOption
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 36
diff changeset
133 hi def link lynxTodo Todo
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 let b:current_syntax = "lynx"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 36
diff changeset
137 let &cpo = s:cpo_save
e63691e7c504 updated for version 7.1a
vimboss
parents: 36
diff changeset
138 unlet s:cpo_save
e63691e7c504 updated for version 7.1a
vimboss
parents: 36
diff changeset
139
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
140 " vim: ts=8 fdm=marker: