annotate runtime/syntax/tidy.vim @ 27455:6045bf58926d v8.2.4256

patch 8.2.4256: MS-Windows: compiler warnings when compiled with /W4 Commit: https://github.com/vim/vim/commit/135e15251efd96c960e51e8ab31333c2d6887983 Author: K.Takata <kentkt@csc.jp> Date: Sat Jan 29 15:27:58 2022 +0000 patch 8.2.4256: MS-Windows: compiler warnings when compiled with /W4 Problem: MS-Windows: compiler warnings when compiled with /W4. Solution: Small adjustments to the code. (Ken Takata, closes https://github.com/vim/vim/issues/9659)
author Bram Moolenaar <Bram@vim.org>
date Sat, 29 Jan 2022 16:30:04 +0100
parents 34b4eb3a8458
children
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
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
2 " Language: HMTL Tidy Configuration
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 548
diff changeset
3 " Maintainer: Doug Kearns <dougkearns@gmail.com>
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
4 " Last Change: 2020 Sep 4
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
6 " Preamble {{{1
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 548
diff changeset
7 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
9041
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
11 let s:cpo_save = &cpo
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
12 set cpo&vim
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
13
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
14 syn iskeyword @,48-57,-,_
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
15
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
16 " Values {{{1
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
17 syn match tidyWordSeparator contained ",\|\s" nextgroup=tidyWord skipwhite skipnl
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
18 syn match tidyMuteIDSeparator contained ",\|\s" nextgroup=tidyMuteID skipwhite skipnl
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
19
9041
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
20 syn case ignore
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
21 syn keyword tidyBoolean contained t[rue] f[alse] y[es] n[o] 1 0
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
22 syn keyword tidyAutoBoolean contained t[rue] f[alse] y[es] n[o] 1 0 auto
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
23 syn case match
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
24 syn keyword tidyCustomTags contained no blocklevel empty inline pre
9041
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
25 syn keyword tidyDoctype contained html5 omit auto strict loose transitional user
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
26 syn keyword tidyEncoding contained raw ascii latin0 latin1 utf8 iso2022 mac win1252 ibm858 utf16le utf16be utf16 big5 shiftjis
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
27 syn keyword tidyNewline contained LF CRLF CR
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
28 syn match tidyNumber contained "\<\d\+\>"
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
29 syn keyword tidyRepeat contained keep-first keep-last
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
30 syn keyword tidySorter contained alpha none
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
31 syn region tidyString contained start=+"+ skip=+\\\\\|\\"+ end=+"+ oneline
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
32 syn region tidyString contained start=+'+ skip=+\\\\\|\\'+ end=+'+ oneline
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
33 " Tag and attribute lists
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
34 syn match tidyWord contained "\<\k\+\>:\@!" nextgroup=tidyWordSeparator skipwhite skipnl
9041
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
35
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
36 " Mute Message IDs {{{2
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
37 syn keyword tidyMuteID ADDED_MISSING_CHARSET ANCHOR_DUPLICATED
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
38 \ ANCHOR_NOT_UNIQUE APOS_UNDEFINED APPLET_MISSING_ALT AREA_MISSING_ALT
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
39 \ ASCII_REQUIRES_DESCRIPTION ASSOCIATE_LABELS_EXPLICITLY
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
40 \ ASSOCIATE_LABELS_EXPLICITLY_FOR ASSOCIATE_LABELS_EXPLICITLY_ID
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
41 \ ATTRIBUTE_IS_NOT_ALLOWED ATTRIBUTE_VALUE_REPLACED
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
42 \ ATTR_VALUE_NOT_LCASE AUDIO_MISSING_TEXT_AIFF AUDIO_MISSING_TEXT_AU
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
43 \ AUDIO_MISSING_TEXT_RA AUDIO_MISSING_TEXT_RM AUDIO_MISSING_TEXT_SND
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
44 \ AUDIO_MISSING_TEXT_WAV BACKSLASH_IN_URI BAD_ATTRIBUTE_VALUE
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
45 \ BAD_ATTRIBUTE_VALUE_REPLACED BAD_CDATA_CONTENT BAD_SUMMARY_HTML5
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
46 \ BAD_SURROGATE_LEAD BAD_SURROGATE_PAIR BAD_SURROGATE_TAIL
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
47 \ CANT_BE_NESTED COERCE_TO_ENDTAG COLOR_CONTRAST_ACTIVE_LINK
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
48 \ COLOR_CONTRAST_LINK COLOR_CONTRAST_TEXT COLOR_CONTRAST_VISITED_LINK
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
49 \ CONTENT_AFTER_BODY CUSTOM_TAG_DETECTED DATA_TABLE_MISSING_HEADERS
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
50 \ DATA_TABLE_MISSING_HEADERS_COLUMN DATA_TABLE_MISSING_HEADERS_ROW
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
51 \ DATA_TABLE_REQUIRE_MARKUP_COLUMN_HEADERS
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
52 \ DATA_TABLE_REQUIRE_MARKUP_ROW_HEADERS DISCARDING_UNEXPECTED
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
53 \ DOCTYPE_AFTER_TAGS DOCTYPE_MISSING DUPLICATE_FRAMESET
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
54 \ ELEMENT_NOT_EMPTY ELEMENT_VERS_MISMATCH_ERROR
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
55 \ ELEMENT_VERS_MISMATCH_WARN ENCODING_MISMATCH
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
56 \ ENSURE_PROGRAMMATIC_OBJECTS_ACCESSIBLE_APPLET
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
57 \ ENSURE_PROGRAMMATIC_OBJECTS_ACCESSIBLE_EMBED
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
58 \ ENSURE_PROGRAMMATIC_OBJECTS_ACCESSIBLE_OBJECT
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
59 \ ENSURE_PROGRAMMATIC_OBJECTS_ACCESSIBLE_SCRIPT ESCAPED_ILLEGAL_URI
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
60 \ FILE_CANT_OPEN FILE_CANT_OPEN_CFG FILE_NOT_FILE FIXED_BACKSLASH
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
61 \ FOUND_STYLE_IN_BODY FRAME_MISSING_LONGDESC FRAME_MISSING_NOFRAMES
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
62 \ FRAME_MISSING_TITLE FRAME_SRC_INVALID FRAME_TITLE_INVALID_NULL
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
63 \ FRAME_TITLE_INVALID_SPACES HEADERS_IMPROPERLY_NESTED
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
64 \ HEADER_USED_FORMAT_TEXT ID_NAME_MISMATCH ILLEGAL_NESTING
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
65 \ ILLEGAL_URI_CODEPOINT ILLEGAL_URI_REFERENCE
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
66 \ IMAGE_MAP_SERVER_SIDE_REQUIRES_CONVERSION
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
67 \ IMG_ALT_SUSPICIOUS_FILENAME IMG_ALT_SUSPICIOUS_FILE_SIZE
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
68 \ IMG_ALT_SUSPICIOUS_PLACEHOLDER IMG_ALT_SUSPICIOUS_TOO_LONG
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
69 \ IMG_BUTTON_MISSING_ALT IMG_MAP_CLIENT_MISSING_TEXT_LINKS
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
70 \ IMG_MAP_SERVER_REQUIRES_TEXT_LINKS IMG_MISSING_ALT IMG_MISSING_DLINK
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
71 \ IMG_MISSING_LONGDESC IMG_MISSING_LONGDESC_DLINK
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
72 \ INFORMATION_NOT_CONVEYED_APPLET INFORMATION_NOT_CONVEYED_IMAGE
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
73 \ INFORMATION_NOT_CONVEYED_INPUT INFORMATION_NOT_CONVEYED_OBJECT
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
74 \ INFORMATION_NOT_CONVEYED_SCRIPT INSERTING_AUTO_ATTRIBUTE
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
75 \ INSERTING_TAG INVALID_ATTRIBUTE INVALID_NCR INVALID_SGML_CHARS
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
76 \ INVALID_UTF16 INVALID_UTF8 INVALID_XML_ID JOINING_ATTRIBUTE
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
77 \ LANGUAGE_INVALID LANGUAGE_NOT_IDENTIFIED
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
78 \ LAYOUT_TABLES_LINEARIZE_PROPERLY LAYOUT_TABLE_INVALID_MARKUP
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
79 \ LINK_TEXT_MISSING LINK_TEXT_NOT_MEANINGFUL
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
80 \ LINK_TEXT_NOT_MEANINGFUL_CLICK_HERE LINK_TEXT_TOO_LONG
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
81 \ LIST_USAGE_INVALID_LI LIST_USAGE_INVALID_OL LIST_USAGE_INVALID_UL
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
82 \ MALFORMED_COMMENT MALFORMED_COMMENT_DROPPING MALFORMED_COMMENT_EOS
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
83 \ MALFORMED_COMMENT_WARN MALFORMED_DOCTYPE METADATA_MISSING
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
84 \ METADATA_MISSING_REDIRECT_AUTOREFRESH MISMATCHED_ATTRIBUTE_ERROR
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
85 \ MISMATCHED_ATTRIBUTE_WARN MISSING_ATTRIBUTE MISSING_ATTR_VALUE
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
86 \ MISSING_DOCTYPE MISSING_ENDTAG_BEFORE MISSING_ENDTAG_FOR
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
87 \ MISSING_ENDTAG_OPTIONAL MISSING_IMAGEMAP MISSING_QUOTEMARK
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
88 \ MISSING_QUOTEMARK_OPEN MISSING_SEMICOLON MISSING_SEMICOLON_NCR
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
89 \ MISSING_STARTTAG MISSING_TITLE_ELEMENT MOVED_STYLE_TO_HEAD
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
90 \ MULTIMEDIA_REQUIRES_TEXT NESTED_EMPHASIS NESTED_QUOTATION
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
91 \ NEWLINE_IN_URI NEW_WINDOWS_REQUIRE_WARNING_BLANK
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
92 \ NEW_WINDOWS_REQUIRE_WARNING_NEW NOFRAMES_CONTENT
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
93 \ NOFRAMES_INVALID_CONTENT NOFRAMES_INVALID_LINK
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
94 \ NOFRAMES_INVALID_NO_VALUE NON_MATCHING_ENDTAG OBJECT_MISSING_ALT
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
95 \ OBSOLETE_ELEMENT OPTION_REMOVED OPTION_REMOVED_APPLIED
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
96 \ OPTION_REMOVED_UNAPPLIED POTENTIAL_HEADER_BOLD
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
97 \ POTENTIAL_HEADER_ITALICS POTENTIAL_HEADER_UNDERLINE
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
98 \ PREVIOUS_LOCATION PROGRAMMATIC_OBJECTS_REQUIRE_TESTING_APPLET
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
99 \ PROGRAMMATIC_OBJECTS_REQUIRE_TESTING_EMBED
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
100 \ PROGRAMMATIC_OBJECTS_REQUIRE_TESTING_OBJECT
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
101 \ PROGRAMMATIC_OBJECTS_REQUIRE_TESTING_SCRIPT PROPRIETARY_ATTRIBUTE
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
102 \ PROPRIETARY_ATTR_VALUE PROPRIETARY_ELEMENT REMOVED_HTML5
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
103 \ REMOVE_AUTO_REDIRECT REMOVE_AUTO_REFRESH REMOVE_BLINK_MARQUEE
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
104 \ REMOVE_FLICKER_ANIMATED_GIF REMOVE_FLICKER_APPLET
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
105 \ REMOVE_FLICKER_EMBED REMOVE_FLICKER_OBJECT REMOVE_FLICKER_SCRIPT
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
106 \ REPEATED_ATTRIBUTE REPLACE_DEPRECATED_HTML_APPLET
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
107 \ REPLACE_DEPRECATED_HTML_BASEFONT REPLACE_DEPRECATED_HTML_CENTER
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
108 \ REPLACE_DEPRECATED_HTML_DIR REPLACE_DEPRECATED_HTML_FONT
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
109 \ REPLACE_DEPRECATED_HTML_ISINDEX REPLACE_DEPRECATED_HTML_MENU
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
110 \ REPLACE_DEPRECATED_HTML_S REPLACE_DEPRECATED_HTML_STRIKE
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
111 \ REPLACE_DEPRECATED_HTML_U REPLACING_ELEMENT REPLACING_UNEX_ELEMENT
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
112 \ SCRIPT_MISSING_NOSCRIPT SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_CLICK
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
113 \ SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_DOWN
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
114 \ SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_MOVE
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
115 \ SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_OUT
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
116 \ SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_OVER
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
117 \ SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_UP SKIPOVER_ASCII_ART
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
118 \ SPACE_PRECEDING_XMLDECL STRING_ARGUMENT_BAD STRING_CONTENT_LOOKS
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
119 \ STRING_DOCTYPE_GIVEN STRING_MISSING_MALFORMED STRING_MUTING_TYPE
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
120 \ STRING_NO_SYSID STRING_UNKNOWN_OPTION
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
121 \ STYLESHEETS_REQUIRE_TESTING_LINK
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
122 \ STYLESHEETS_REQUIRE_TESTING_STYLE_ATTR
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
123 \ STYLESHEETS_REQUIRE_TESTING_STYLE_ELEMENT
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
124 \ STYLE_SHEET_CONTROL_PRESENTATION SUSPECTED_MISSING_QUOTE
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
125 \ TABLE_MAY_REQUIRE_HEADER_ABBR TABLE_MAY_REQUIRE_HEADER_ABBR_NULL
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
126 \ TABLE_MAY_REQUIRE_HEADER_ABBR_SPACES TABLE_MISSING_CAPTION
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
127 \ TABLE_MISSING_SUMMARY TABLE_SUMMARY_INVALID_NULL
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
128 \ TABLE_SUMMARY_INVALID_PLACEHOLDER TABLE_SUMMARY_INVALID_SPACES
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
129 \ TAG_NOT_ALLOWED_IN TEXT_EQUIVALENTS_REQUIRE_UPDATING_APPLET
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
130 \ TEXT_EQUIVALENTS_REQUIRE_UPDATING_OBJECT
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
131 \ TEXT_EQUIVALENTS_REQUIRE_UPDATING_SCRIPT TOO_MANY_ELEMENTS
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
132 \ TOO_MANY_ELEMENTS_IN TRIM_EMPTY_ELEMENT UNESCAPED_AMPERSAND
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
133 \ UNEXPECTED_ENDTAG UNEXPECTED_ENDTAG_ERR UNEXPECTED_ENDTAG_IN
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
134 \ UNEXPECTED_END_OF_FILE UNEXPECTED_END_OF_FILE_ATTR
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
135 \ UNEXPECTED_EQUALSIGN UNEXPECTED_GT UNEXPECTED_QUOTEMARK
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
136 \ UNKNOWN_ELEMENT UNKNOWN_ELEMENT_LOOKS_CUSTOM UNKNOWN_ENTITY
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
137 \ USING_BR_INPLACE_OF VENDOR_SPECIFIC_CHARS WHITE_IN_URI
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
138 \ XML_DECLARATION_DETECTED XML_ID_SYNTAX
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
139 \ contained nextgroup=tidyMuteIDSeparator skipwhite skipnl
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
140
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
141 " Options {{{1
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
142 syn keyword tidyCustomTagsOption custom-tags contained nextgroup=tidyCustomTagsDelimiter
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
143 syn match tidyCustomTagsDelimiter ":" nextgroup=tidyCustomTags contained skipwhite
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
144
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
145 syn keyword tidyBooleanOption add-meta-charset add-xml-decl
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
146 \ add-xml-pi add-xml-space anchor-as-name ascii-chars
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
147 \ assume-xml-procins bare break-before-br clean coerce-endtags
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
148 \ decorate-inferred-ul drop-empty-paras drop-empty-elements
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
149 \ drop-font-tags drop-proprietary-attributes enclose-block-text
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
150 \ enclose-text escape-cdata escape-scripts fix-backslash
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
151 \ fix-style-tags fix-uri force-output gdoc gnu-emacs hide-comments
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
152 \ hide-endtags indent-attributes indent-cdata indent-with-tabs
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
153 \ input-xml join-classes join-styles keep-tabs keep-time language
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
154 \ literal-attributes logical-emphasis lower-literals markup
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
155 \ merge-emphasis mute-id ncr numeric-entities omit-optional-tags
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
156 \ output-html output-xhtml output-xml preserve-entities
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
157 \ punctuation-wrap quiet quote-ampersand quote-marks quote-nbsp raw
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
158 \ replace-color show-filename show-info show-meta-change show-warnings
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
159 \ skip-nested split strict-tags-attributes tidy-mark
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
160 \ uppercase-attributes uppercase-tags warn-proprietary-attributes
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
161 \ word-2000 wrap-asp wrap-attributes wrap-jste wrap-php
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
162 \ wrap-script-literals wrap-sections write-back
9041
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
163 \ contained nextgroup=tidyBooleanDelimiter
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
164
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
165 syn match tidyBooleanDelimiter ":" nextgroup=tidyBoolean contained skipwhite
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
166
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
167 syn keyword tidyAutoBooleanOption fix-bad-comments indent merge-divs merge-spans output-bom show-body-only vertical-space contained nextgroup=tidyAutoBooleanDelimiter
9041
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
168 syn match tidyAutoBooleanDelimiter ":" nextgroup=tidyAutoBoolean contained skipwhite
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
169
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
170 syn keyword tidyCSSSelectorOption css-prefix contained nextgroup=tidyCSSSelectorDelimiter
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
171 syn match tidyCSSSelectorDelimiter ":" nextgroup=tidyCSSSelector contained skipwhite
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
172
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
173 syn keyword tidyDoctypeOption doctype contained nextgroup=tidyDoctypeDelimiter
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
174 syn match tidyDoctypeDelimiter ":" nextgroup=tidyDoctype,tidyString contained skipwhite
9041
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
175
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
176 syn keyword tidyEncodingOption char-encoding input-encoding output-encoding contained nextgroup=tidyEncodingDelimiter
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
177 syn match tidyEncodingDelimiter ":" nextgroup=tidyEncoding contained skipwhite
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
178
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
179 syn keyword tidyIntegerOption accessibility-check doctype-mode indent-spaces show-errors tab-size wrap contained nextgroup=tidyIntegerDelimiter
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
180 syn match tidyIntegerDelimiter ":" nextgroup=tidyNumber contained skipwhite
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
181
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
182 syn keyword tidyNameOption slide-style contained nextgroup=tidyNameDelimiter
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
183 syn match tidyNameDelimiter ":" nextgroup=tidyName contained skipwhite
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
184
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
185 syn keyword tidyNewlineOption newline contained nextgroup=tidyNewlineDelimiter
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
186 syn match tidyNewlineDelimiter ":" nextgroup=tidyNewline contained skipwhite
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
187
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
188 syn keyword tidyAttributesOption priority-attributes contained nextgroup=tidyAttributesDelimiter
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
189 syn match tidyAttributesDelimiter ":" nextgroup=tidyWord contained skipwhite
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
190
9041
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
191 syn keyword tidyTagsOption new-blocklevel-tags new-empty-tags new-inline-tags new-pre-tags contained nextgroup=tidyTagsDelimiter
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
192 syn match tidyTagsDelimiter ":" nextgroup=tidyWord contained skipwhite
9041
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
193
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
194 syn keyword tidyRepeatOption repeated-attributes contained nextgroup=tidyRepeatDelimiter
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
195 syn match tidyRepeatDelimiter ":" nextgroup=tidyRepeat contained skipwhite
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
196
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
197 syn keyword tidySorterOption sort-attributes contained nextgroup=tidySorterDelimiter
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
198 syn match tidySorterDelimiter ":" nextgroup=tidySorter contained skipwhite
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
199
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
200 syn keyword tidyStringOption alt-text error-file gnu-emacs-file output-file contained nextgroup=tidyStringDelimiter
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
201 syn match tidyStringDelimiter ":" nextgroup=tidyString contained skipwhite
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
202
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
203 syn keyword tidyMuteOption mute contained nextgroup=tidyMuteDelimiter
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
204 syn match tidyMuteDelimiter ":" nextgroup=tidyMuteID contained skipwhite
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
205
9041
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
206 syn cluster tidyOptions contains=tidy.*Option
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
207
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
208 " Option line anchor {{{1
9041
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
209 syn match tidyStart "^" nextgroup=@tidyOptions
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
210 " Long standing bug - option lines (except the first) with leading whitespace
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
211 " are silently ignored.
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
212 syn match tidyErrorStart '^\s\+\ze\S'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
214 " Comments {{{1
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 548
diff changeset
215 syn match tidyComment "^\s*//.*$" contains=tidyTodo
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 548
diff changeset
216 syn match tidyComment "^\s*#.*$" contains=tidyTodo
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 548
diff changeset
217 syn keyword tidyTodo TODO NOTE FIXME XXX contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
219 " Default highlighting {{{1
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
220 hi def link tidyAttributesOption Identifier
9041
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
221 hi def link tidyAutoBooleanOption Identifier
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
222 hi def link tidyBooleanOption Identifier
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
223 hi def link tidyCSSSelectorOption Identifier
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
224 hi def link tidyCustomTagsOption Identifier
9041
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
225 hi def link tidyDoctypeOption Identifier
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
226 hi def link tidyEncodingOption Identifier
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
227 hi def link tidyIntegerOption Identifier
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
228 hi def link tidyMuteOption Identifier
9041
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
229 hi def link tidyNameOption Identifier
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
230 hi def link tidyNewlineOption Identifier
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
231 hi def link tidyRepeatOption Identifier
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
232 hi def link tidySorterOption Identifier
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
233 hi def link tidyStringOption Identifier
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
234 hi def link tidyTagsOption Identifier
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
236 hi def link tidyAttributesDelimiter Special
9041
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
237 hi def link tidyAutoBooleanDelimiter Special
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
238 hi def link tidyBooleanDelimiter Special
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
239 hi def link tidyCSSSelectorDelimiter Special
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
240 hi def link tidyCustomTagsDelimiter Special
9041
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
241 hi def link tidyDoctypeDelimiter Special
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
242 hi def link tidyEncodingDelimiter Special
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
243 hi def link tidyIntegerDelimiter Special
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
244 hi def link tidyMuteDelimiter Special
9041
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
245 hi def link tidyNameDelimiter Special
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
246 hi def link tidyNewlineDelimiter Special
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
247 hi def link tidyRepeatDelimiter Special
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
248 hi def link tidySorterDelimiter Special
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
249 hi def link tidyStringDelimiter Special
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
250 hi def link tidyTagsDelimiter Special
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251
9041
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
252 hi def link tidyAutoBoolean Boolean
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
253 hi def link tidyBoolean Boolean
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
254 hi def link tidyCustomTags Constant
9041
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
255 hi def link tidyDoctype Constant
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
256 hi def link tidyEncoding Constant
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
257 hi def link tidyMuteID Constant
9041
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
258 hi def link tidyNewline Constant
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
259 hi def link tidyNumber Number
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
260 hi def link tidyRepeat Constant
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
261 hi def link tidySorter Constant
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
262 hi def link tidyString String
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
263 hi def link tidyWord Constant
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264
9041
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
265 hi def link tidyComment Comment
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
266 hi def link tidyTodo Todo
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
268 hi def link tidyErrorStart Error
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
269
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
270 " Postscript {{{1
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271 let b:current_syntax = "tidy"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
272
9041
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
273 let &cpo = s:cpo_save
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
274 unlet s:cpo_save
34c45ee4210d commit https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
Christian Brabandt <cb@256bit.org>
parents: 5277
diff changeset
275
23737
34b4eb3a8458 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 9041
diff changeset
276 " vim: ts=8 fdm=marker