annotate runtime/syntax/sisu.vim @ 28103:1615d305c71d v8.2.4576

patch 8.2.4576: Vim9: error for comparing with null can be annoying Commit: https://github.com/vim/vim/commit/056678184f679c2989b73bd48eda112f3c79a62f Author: Bram Moolenaar <Bram@vim.org> Date: Tue Mar 15 20:21:33 2022 +0000 patch 8.2.4576: Vim9: error for comparing with null can be annoying Problem: Vim9: error for comparing with null can be annoying. Solution: Allow comparing anything with null. (closes https://github.com/vim/vim/issues/9948)
author Bram Moolenaar <Bram@vim.org>
date Tue, 15 Mar 2022 21:30:03 +0100
parents 49c12c93abf3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
1 " SiSU Vim syntax file
6238
47b1887483da Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4437
diff changeset
2 " SiSU Maintainer: Ralph Amissah <ralph.amissah@gmail.com>
47b1887483da Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4437
diff changeset
3 " SiSU Markup: SiSU (sisu-5.6.7)
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
4 " Last Change: 2017 Jun 22
6238
47b1887483da Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4437
diff changeset
5 " URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/syntax/sisu.vim;hb=HEAD>
47b1887483da Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4437
diff changeset
6 " <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob_plain;f=data/sisu/conf/editor-syntax-etc/vim/syntax/sisu.vim;hb=HEAD>
1618
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
7 "(originally looked at Ruby Vim by Mirko Nasato)
1118
2b8ff9e3c520 updated for version 7.1a
vimboss
parents: 857
diff changeset
8
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 6238
diff changeset
9 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 6238
diff changeset
10 if exists("b:current_syntax")
822
45fad0f590d0 updated for version 7.0c12
vimboss
parents:
diff changeset
11 finish
45fad0f590d0 updated for version 7.0c12
vimboss
parents:
diff changeset
12 endif
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
13 let s:cpo_save = &cpo
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
14 set cpo&vim
1618
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
15
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
16 "% "Errors:
843
9f279ebda751 updated for version 7.0f01
vimboss
parents: 841
diff changeset
17 syn match sisu_error contains=sisu_link,sisu_error_wspace "<![^ei]\S\+!>"
1618
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
18
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
19 "% "Markers Identifiers:
822
45fad0f590d0 updated for version 7.0c12
vimboss
parents:
diff changeset
20 if !exists("sisu_no_identifiers")
1618
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
21 syn match sisu_mark_endnote "\~^"
4437
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3356
diff changeset
22 syn match sisu_break contains=@NoSpell " \\\\\( \|$\)\|<br>\|<br />"
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3356
diff changeset
23 syn match sisu_control contains=@NoSpell "^\(-\\\\-\|=\\\\=\|-\.\.-\|<:p[bn]>\)\s*$"
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
24 syn match sisu_control contains=@NoSpell "^<:\(bo\|---\)>\s*$"
6238
47b1887483da Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4437
diff changeset
25 syn match sisu_marktail contains=@NoSpell "^--[+~-]#\s*$"
1618
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
26 syn match sisu_marktail "[~-]#"
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
27 syn match sisu_control "\""
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
28 syn match sisu_underline "\(^\| \)_[a-zA-Z0-9]\+_\([ .,]\|$\)"
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
29 syn match sisu_number contains=@NoSpell "[0-9a-f]\{32\}\|[0-9a-f]\{64\}"
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
30 syn match sisu_link contains=@NoSpell "\(_\?https\?://\|\.\.\/\)\S\+"
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
31 syn match sisu_link " \*\~\S\+"
6238
47b1887483da Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4437
diff changeset
32 syn match sisu_require contains=@NoSpell "^<<\s*[a-zA-Z0-9^./_-]\+\.ss[it]$"
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
33 syn match sisu_structure "^:A\~$"
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
34
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
35 "% "Document Sub Headers:
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
36 syn match sisu_sub_header_title "^\s\+:\(subtitle\|short\|edition\|language\|lang_char\|note\):\s" "group=sisu_header_content
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
37 syn match sisu_sub_header_creator "^\s\+:\(author\|editor\|contributor\|illustrator\|photographer\|translator\|digitized_by\|prepared_by\|audio\|video\):\s" " &hon &institution
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
38 syn match sisu_sub_header_rights "^\s\+:\(copyright\|text\|translation\|illustrations\|photographs\|preparation\|digitization\|audio\|video\|license\|all\):\s" " access_rights license
4437
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3356
diff changeset
39 syn match sisu_sub_header_classify "^\s\+:\(topic_register\|keywords\|subject\|dewey\|loc\):\s"
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3356
diff changeset
40 syn match sisu_sub_header_identifier "^\s\+:\(oclc\|isbn\):\s"
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3356
diff changeset
41 syn match sisu_sub_header_date "^\s\+:\(added_to_site\|available\|created\|issued\|modified\|published\|valid\|translated\|original_publication\):\s"
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
42 syn match sisu_sub_header_original "^\s\+:\(publisher\|date\|language\|lang_char\|institution\|nationality\|source\):\s"
4437
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3356
diff changeset
43 syn match sisu_sub_header_make "^\s\+:\(headings\|num_top\|breaks\|language\|italics\|bold\|emphasis\|substitute\|omit\|plaintext_wrap\|texpdf_font_mono\|texpdf_font\|stamp\|promo\|ad\|manpage\|home_button_text\|home_button_image\|cover_image\|footer\):\s"
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3356
diff changeset
44 syn match sisu_sub_header_notes "^\s\+:\(description\|abstract\|comment\|coverage\|relation\|source\|history\|type\|format\|prefix\|prefix_[ab]\|suffix\):\s"
6238
47b1887483da Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4437
diff changeset
45 syn match sisu_within_index_ignore "\S\+[:;]\(\s\+\|$\)"
47b1887483da Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4437
diff changeset
46 syn match sisu_within_index "[:|;]\|+\d\+"
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
47
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
48 "% "semantic markers: (ignore)
1618
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
49 syn match sisu_sem_marker ";{\|};[a-z._]*[a-z]"
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
50 syn match sisu_sem_marker_block "\([a-z][a-z._]*\|\):{\|}:[a-z._]*[a-z]"
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
51 syn match sisu_sem_ex_marker ";\[\|\];[a-z._]*[a-z]"
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
52 syn match sisu_sem_ex_marker_block "\([a-z][a-z._]*\|\):\[\|\]:[a-z._]*[a-z]"
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
53 syn match sisu_sem_block contains=sisu_error,sisu_error_wspace,sisu_content_alt,sisu_link,sisu_linked,sisu_break,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_mark_endnote,sisu_content_endnote "\([a-z]*\):{[^}].\{-}}:\1"
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
54 syn match sisu_sem_content contains=sisu_error,sisu_error_wspace,sisu_content_alt,sisu_link,sisu_linked,sisu_break,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker ";{[^}].\{-}};[a-z]\+"
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
55 syn match sisu_sem_ex_block contains=sisu_error,sisu_error_wspace,sisu_content_alt,sisu_link,sisu_linked,sisu_break,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_mark_endnote,sisu_content_endnote "\([a-z]*\):\[[^}].\{-}\]:\1"
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
56 syn match sisu_sem_ex_content contains=sisu_error,sisu_error_wspace,sisu_content_alt,sisu_link,sisu_linked,sisu_break,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker ";\[[^}].\{-}\];[a-z]\+"
822
45fad0f590d0 updated for version 7.0c12
vimboss
parents:
diff changeset
57 endif
1618
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
58
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
59 "% "URLs Numbers And ASCII Codes:
852
d58e3db4a7d1 updated for version 7.0f05
vimboss
parents: 843
diff changeset
60 syn match sisu_number "\<\(0x\x\+\|0b[01]\+\|0\o\+\|0\.\d\+\|0\|[1-9][\.0-9_]*\)\>"
d58e3db4a7d1 updated for version 7.0f05
vimboss
parents: 843
diff changeset
61 syn match sisu_number "?\(\\M-\\C-\|\\c\|\\C-\|\\M-\)\=\(\\\o\{3}\|\\x\x\{2}\|\\\=\w\)"
1618
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
62
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
63 "% "Tuned Error: (is error if not already matched)
852
d58e3db4a7d1 updated for version 7.0f05
vimboss
parents: 843
diff changeset
64 syn match sisu_error contains=sisu_error "[\~/\*!_]{\|}[\~/\*!_]"
d58e3db4a7d1 updated for version 7.0f05
vimboss
parents: 843
diff changeset
65 syn match sisu_error contains=sisu_error "<a href\|</a>]"
1618
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
66
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
67 "% "Simple Paired Enclosed Markup:
1618
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
68 "url/link
843
9f279ebda751 updated for version 7.0f01
vimboss
parents: 841
diff changeset
69 syn region sisu_link contains=sisu_error,sisu_error_wspace matchgroup=sisu_action start="^<<\s*|[a-zA-Z0-9^._-]\+|@|[a-zA-Z0-9^._-]\+|"rs=s+2 end="$"
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
70
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
71 "% "Document Header:
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
72 " title
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
73 syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_title matchgroup=sisu_header start="^[@]title:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
74 " creator
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
75 syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_creator matchgroup=sisu_header start="^[@]creator:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
76 " dates
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
77 syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_date matchgroup=sisu_header start="^[@]date:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
78 " publisher
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
79 syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_publisher matchgroup=sisu_header start="^[@]publisher:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
80 " rights
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
81 syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_rights matchgroup=sisu_header start="^[@]rights:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
82 " classify document
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
83 syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_classify matchgroup=sisu_header start="^[@]classify:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
4437
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3356
diff changeset
84 " identifier document
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3356
diff changeset
85 syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_identifier matchgroup=sisu_header start="^[@]identifier:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
86 " original language (depreciated)
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
87 syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_original matchgroup=sisu_header start="^[@]original:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
88 " notes
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
89 syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_notes matchgroup=sisu_header start="^[@]notes:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
90 " links of interest
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
91 syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_linked,sisu_sub_header_links matchgroup=sisu_header start="^[@]links:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
92 " make, processing instructions
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
93 syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_make matchgroup=sisu_header start="^[@]make:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
94
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
95 "% "Headings:
6238
47b1887483da Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4437
diff changeset
96 syn region sisu_heading contains=sisu_mark_endnote,sisu_content_endnote,sisu_marktail,sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_ocn,sisu_error,sisu_error_wspace matchgroup=sisu_structure start="^\([1-4]\|:\?[A-D]\)\~\(\S\+\|[^-]\)" end="$"
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
97
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
98 "% "Block Group Text:
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
99 " table
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
100 syn region sisu_content_alt contains=sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_contain start="^table{.\+" end="}table"
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
101 " table
6238
47b1887483da Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4437
diff changeset
102 syn region sisu_content_alt contains=sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_contain start="^```\s\+table" end="^```\(\s\|$\)"
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
103 syn region sisu_content_alt contains=sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_contain start="^{\(t\|table\)\(\~h\)\?\(\sc[0-9]\+;\)\?[0-9; ]*}" end="\n$"
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
104 " block, group, poem, alt
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
105 syn region sisu_content_alt contains=sisu_mark_endnote,sisu_content_endnote,sisu_link,sisu_mark,sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_contain start="^\z(block\|group\|poem\|alt\){" end="^}\z1"
6238
47b1887483da Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4437
diff changeset
106 syn region sisu_content_alt contains=sisu_mark_endnote,sisu_content_endnote,sisu_link,sisu_mark,sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_contain start="^```\s\+\(block\|group\|poem\|alt\)" end="^```\(\s\|$\)"
47b1887483da Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4437
diff changeset
107 " box
47b1887483da Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4437
diff changeset
108 syn region sisu_content_alt contains=sisu_mark_endnote,sisu_content_endnote,sisu_link,sisu_mark,sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_contain start="^box\(\.[a-z]\+\)\?{" end="^}box"
47b1887483da Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4437
diff changeset
109 syn region sisu_content_alt contains=sisu_mark_endnote,sisu_content_endnote,sisu_link,sisu_mark,sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_contain start="^```\s\+\box\(\.[a-z]\+\)\?" end="^```\(\s\|$\)"
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
110 " code
6238
47b1887483da Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4437
diff changeset
111 syn region sisu_content_alt contains=sisu_error,@NoSpell matchgroup=sisu_contain start="^code\(\.[a-z][0-9a-z_]\+\)\?{" end="^}code"
47b1887483da Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4437
diff changeset
112 syn region sisu_content_alt contains=sisu_error,@NoSpell matchgroup=sisu_contain start="^```\s\+code\(\.[a-z][0-9a-z_]\+\)\?" end="^```\(\s\|$\)"
47b1887483da Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4437
diff changeset
113 " quote
47b1887483da Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4437
diff changeset
114 syn region sisu_normal contains=sisu_fontface,sisu_bold,sisu_control,sisu_identifier,sisu_content_endnote,sisu_mark_endnote,sisu_link,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_linked,sisu_error,sisu_error_wspace matchgroup=sisu_contain start="^```\s\+quote" end="^```\(\s\|$\)"
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
115
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
116 "% "Endnotes:
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
117 " regular endnote or asterisk or plus sign endnote
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
118 syn region sisu_content_endnote contains=sisu_link,sisu_strikeout,sisu_underline,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error,sisu_error_wspace,sisu_mark,sisu_break,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker matchgroup=sisu_mark_endnote start="\~{[*+]*" end="}\~" skip="\n"
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
119 " numbered asterisk or plus sign endnote
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
120 syn region sisu_content_endnote contains=sisu_link,sisu_strikeout,sisu_underline,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error,sisu_error_wspace,sisu_mark,sisu_break,sisu_sem_block,sisu_sem_content,sisu_sem_marker matchgroup=sisu_mark_endnote start="\~\[[*+]*" end="\]\~" skip="\n"
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
121 " endnote content marker (for binary content marking)
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
122 syn region sisu_content_endnote contains=sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_link,sisu_identifier,sisu_error,sisu_error_wspace,sisu_mark,sisu_break matchgroup=sisu_mark_endnote start="\^\~" end="\n$"
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
123
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
124 "% "Links And Images:
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
125 " image with url link (and possibly footnote of url)
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
126 syn region sisu_linked contains=sisu_fontface,sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_sem_block,sisu_error matchgroup=sisu_link start="{\(\~^\s\)\?" end="}\(https\?:/\/\|:\|\.\.\/\|#\)\S\+" oneline
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
127 " sisu outputs, short notation
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
128 syn region sisu_linked contains=sisu_fontface,sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_sem_block,sisu_error matchgroup=sisu_link start="{\(\~^\s\)\?" end="\[[1-5][sS]*\]}\S\+\.ss[tm]" oneline
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
129 " image
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
130 syn region sisu_linked contains=sisu_fontface,sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_link start="{" end="}image" oneline
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
131
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
132 "% "Some Line Operations:
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
133 " bold line
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
134 syn region sisu_bold contains=sisu_strikeout,sisu_identifier,sisu_content_endnote,sisu_mark_endnote,sisu_error,sisu_error_wspace matchgroup=sisu_markpara start="^!_ " end=" \\\\\|$"
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
135 " indent and bullet paragraph
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
136 syn region sisu_normal contains=sisu_fontface,sisu_bold,sisu_control,sisu_identifier,sisu_content_endnote,sisu_mark_endnote,sisu_link,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_linked,sisu_error,sisu_error_wspace matchgroup=sisu_markpara start="^_\([1-9*]\|[1-9]\*\) " end="$"
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
137 " indent and bullet (bold start) paragraph
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
138 syn region sisu_bold contains=sisu_fontface,sisu_bold,sisu_control,sisu_identifier,sisu_content_endnote,sisu_mark_endnote,sisu_link,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_linked,sisu_error,sisu_error_wspace matchgroup=sisu_markpara start="^_\([1-9*]\|[1-9]\*\)!_\? " end=" \\\\\|$"
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
139 " hanging indent paragraph [proposed]
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
140 syn region sisu_normal contains=sisu_fontface,sisu_bold,sisu_control,sisu_identifier,sisu_content_endnote,sisu_mark_endnote,sisu_link,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_linked,sisu_error,sisu_error_wspace matchgroup=sisu_markpara start="^_[0-9]\?_[0-9] " end="$"
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
141 " hanging indent (bold start/ definition) paragraph [proposed]
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
142 syn region sisu_bold contains=sisu_fontface,sisu_bold,sisu_control,sisu_identifier,sisu_content_endnote,sisu_mark_endnote,sisu_link,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_linked,sisu_error,sisu_error_wspace matchgroup=sisu_markpara start="^_[0-9]\?_[0-9]!_\? " end=" \\\\\|$"
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
143 " list numbering
852
d58e3db4a7d1 updated for version 7.0f05
vimboss
parents: 843
diff changeset
144 syn region sisu_normal contains=sisu_strikeout,sisu_identifier,sisu_content_endnote,sisu_mark_endnote,sisu_link,sisu_linked,sisu_error,sisu_error_wspace matchgroup=sisu_markpara start="^\(#[ 1]\|_# \)" end="$"
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
145
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
146 "% "Font Face Curly Brackets:
1618
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
147 "syn region sisu_identifier contains=sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_sem start="\S\+:{" end="}:[^<>,.!?:; ]\+" oneline
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
148 " book index:
6238
47b1887483da Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4437
diff changeset
149 syn region sisu_index contains=sisu_within_index_ignore,sisu_within_index matchgroup=sisu_index_block start="^={" end="}"
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
150 " emphasis:
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
151 syn region sisu_bold contains=sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_fontface start="\*{" end="}\*"
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
152 " bold:
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
153 syn region sisu_bold contains=sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_fontface start="!{" end="}!"
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
154 " underscore:
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
155 syn region sisu_underline contains=sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_fontface start="_{" end="}_"
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
156 " italics:
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
157 syn region sisu_identifier contains=sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_fontface start="/{" end="}/"
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
158 " added:
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
159 syn region sisu_underline contains=sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_fontface start="+{" end="}+"
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
160 " superscript:
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
161 syn region sisu_identifier contains=sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_fontface start="\^{" end="}\^"
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
162 " subscript:
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
163 syn region sisu_identifier contains=sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_fontface start=",{" end="},"
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
164 " monospace:
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
165 syn region sisu_identifier contains=sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_fontface start="#{" end="}#"
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
166 " strikethrough:
1618
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
167 syn region sisu_strikeout contains=sisu_error matchgroup=sisu_fontface start="-{" end="}-"
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
168
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
169 "% "Single Words Bold Italicise Etc: (depreciated)
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
170 syn region sisu_bold contains=sisu_error matchgroup=sisu_bold start="\([ (]\|^\)\*[^\|{\n\~\\]"hs=e-1 end="\*"he=e-0 skip="[a-zA-Z0-9']" oneline
822
45fad0f590d0 updated for version 7.0c12
vimboss
parents:
diff changeset
171 syn region sisu_identifier contains=sisu_error matchgroup=sisu_content_alt start="\([ ]\|^\)/[^{ \|\n\\]"hs=e-1 end="/\[ \.\]" skip="[a-zA-Z0-9']" oneline
1618
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
172 "misc
824
8dd456c1e283 updated for version 7.0c13
vimboss
parents: 822
diff changeset
173 syn region sisu_identifier contains=sisu_error matchgroup=sisu_fontface start="\^[^ {\|\n\\]"rs=s+1 end="\^[ ,.;:'})\\\n]" skip="[a-zA-Z0-9']" oneline
1618
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
174
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
175 "% "Expensive Mode:
822
45fad0f590d0 updated for version 7.0c12
vimboss
parents:
diff changeset
176 if !exists("sisu_no_expensive")
45fad0f590d0 updated for version 7.0c12
vimboss
parents:
diff changeset
177 else " not Expensive
45fad0f590d0 updated for version 7.0c12
vimboss
parents:
diff changeset
178 syn region sisu_content_alt matchgroup=sisu_control start="^\s*def\s" matchgroup=NONE end="[?!]\|\>" skip="\.\|\(::\)" oneline
45fad0f590d0 updated for version 7.0c12
vimboss
parents:
diff changeset
179 endif " Expensive?
1618
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
180
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
181 "% "Headers And Headings: (Document Instructions)
852
d58e3db4a7d1 updated for version 7.0f05
vimboss
parents: 843
diff changeset
182 syn match sisu_control contains=sisu_error,sisu_error_wspace "4\~! \S\+"
822
45fad0f590d0 updated for version 7.0c12
vimboss
parents:
diff changeset
183 syn region sisu_markpara contains=sisu_error,sisu_error_wspace start="^=begin" end="^=end.*$"
1618
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
184
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
185 "% "Errors:
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
186 syn match sisu_error_wspace contains=sisu_error_wspace "^\s\+[^:]"
822
45fad0f590d0 updated for version 7.0c12
vimboss
parents:
diff changeset
187 syn match sisu_error_wspace contains=sisu_error_wspace "\s\s\+"
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
188 syn match sisu_error_wspace contains=sisu_error_wspace "\s\+$"
824
8dd456c1e283 updated for version 7.0c13
vimboss
parents: 822
diff changeset
189 syn match sisu_error contains=sisu_error_wspace "\t\+"
1618
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
190 syn match sisu_error contains=sisu_error,sisu_error_wspace "\([^ (][_\\]\||[^ (}]\)https\?:\S\+"
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
191 syn match sisu_error contains=sisu_error "_\?https\?:\S\+[}><]"
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
192 syn match sisu_error contains=sisu_error "\([!*/_\+,^]\){\([^(\}\1)]\)\{-}\n$"
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
193 syn match sisu_error contains=sisu_error "^[\~]{[^{]\{-}\n$"
822
45fad0f590d0 updated for version 7.0c12
vimboss
parents:
diff changeset
194 syn match sisu_error contains=sisu_error "\s\+.{{"
45fad0f590d0 updated for version 7.0c12
vimboss
parents:
diff changeset
195 syn match sisu_error contains=sisu_error "^\~\s*$"
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
196 syn match sisu_error contains=sisu_error "^0\~.*"
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
197 syn match sisu_error contains=sisu_error "^[1-9]\~\s*$"
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
198 syn match sisu_error contains=sisu_error "^[1-9]\~\S\+\s*$"
822
45fad0f590d0 updated for version 7.0c12
vimboss
parents:
diff changeset
199 syn match sisu_error contains=sisu_error "[^{]\~\^[^ \)]"
45fad0f590d0 updated for version 7.0c12
vimboss
parents:
diff changeset
200 syn match sisu_error contains=sisu_error "\~\^\s\+\.\s*"
834
5117153003bd updated for version 7.0e
vimboss
parents: 824
diff changeset
201 syn match sisu_error contains=sisu_error "{\~^\S\+"
822
45fad0f590d0 updated for version 7.0c12
vimboss
parents:
diff changeset
202 syn match sisu_error contains=sisu_error "[_/\*!^]{[ .,:;?><]*}[_/\*!^]"
45fad0f590d0 updated for version 7.0c12
vimboss
parents:
diff changeset
203 syn match sisu_error contains=sisu_error "[^ (\"'(\[][_/\*!]{\|}[_/\*!][a-zA-Z0-9)\]\"']"
45fad0f590d0 updated for version 7.0c12
vimboss
parents:
diff changeset
204 syn match sisu_error contains=sisu_error "<dir>"
852
d58e3db4a7d1 updated for version 7.0f05
vimboss
parents: 843
diff changeset
205 "errors for filetype sisu, though not error in 'metaverse':
822
45fad0f590d0 updated for version 7.0c12
vimboss
parents:
diff changeset
206 syn match sisu_error contains=sisu_error,sisu_match,sisu_strikeout,sisu_contain,sisu_content_alt,sisu_mark,sisu_break,sisu_number "<[a-zA-Z\/]\+>"
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
207 syn match sisu_error "/\?<\([biu]\)>[^(</\1>)]\{-}\n$"
1618
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
208
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
209 "% "Error Exceptions:
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
210 syn match sisu_control "\n$" "contains=ALL
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
211 "syn match sisu_control " //"
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
212 syn match sisu_error "%{"
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
213 syn match sisu_error "<br>_\?https\?:\S\+\|_\?https\?:\S\+<br>"
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
214 syn match sisu_error "[><]_\?https\?:\S\+\|_\?https\?:\S\+[><]"
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
215 syn match sisu_comment "^%\{1,2\}.\+"
1618
46bbe11644e0 updated for version 7.2a
vimboss
parents: 1118
diff changeset
216
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
217 "% "Definitions Default Highlighting:
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
218 hi def link sisu_normal Normal
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
219 hi def link sisu_bold Statement
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
220 hi def link sisu_header PreProc
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
221 hi def link sisu_header_content Normal
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
222 hi def link sisu_sub_header_title Statement
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
223 hi def link sisu_sub_header_creator Statement
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
224 hi def link sisu_sub_header_date Statement
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
225 hi def link sisu_sub_header_publisher Statement
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
226 hi def link sisu_sub_header_rights Statement
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
227 hi def link sisu_sub_header_classify Statement
4437
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3356
diff changeset
228 hi def link sisu_sub_header_identifier Statement
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
229 hi def link sisu_sub_header_original Statement
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
230 hi def link sisu_sub_header_links Statement
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
231 hi def link sisu_sub_header_notes Statement
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
232 hi def link sisu_sub_header_make Statement
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
233 hi def link sisu_heading Title
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
234 hi def link sisu_structure Operator
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
235 hi def link sisu_contain Include
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
236 hi def link sisu_mark_endnote Delimiter
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
237 hi def link sisu_require NonText
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
238 hi def link sisu_link NonText
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
239 hi def link sisu_linked String
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
240 hi def link sisu_fontface Delimiter
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
241 hi def link sisu_strikeout DiffDelete
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
242 hi def link sisu_content_alt Special
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
243 hi def link sisu_sem_content SpecialKey
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
244 hi def link sisu_sem_block Special
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
245 hi def link sisu_sem_marker Visual
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
246 "hi def link sisu_sem_marker Structure
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
247 hi def link sisu_sem_marker_block MatchParen
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
248 hi def link sisu_sem_ex_marker FoldColumn
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
249 hi def link sisu_sem_ex_marker_block Folded
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
250 hi def link sisu_sem_ex_content Comment
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
251 "hi def link sisu_sem_ex_content SpecialKey
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
252 hi def link sisu_sem_ex_block Comment
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
253 hi def link sisu_index SpecialKey
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
254 hi def link sisu_index_block Visual
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
255 hi def link sisu_content_endnote Special
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
256 hi def link sisu_control Delimiter
6238
47b1887483da Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4437
diff changeset
257 hi def link sisu_within_index Delimiter
47b1887483da Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4437
diff changeset
258 hi def link sisu_within_index_ignore SpecialKey
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
259 hi def link sisu_ocn Include
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
260 hi def link sisu_number Number
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
261 hi def link sisu_identifier Function
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
262 hi def link sisu_underline Underlined
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
263 hi def link sisu_markpara Include
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
264 hi def link sisu_marktail Include
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
265 hi def link sisu_mark Identifier
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
266 hi def link sisu_break Structure
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
267 hi def link sisu_html Type
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
268 hi def link sisu_action Identifier
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
269 hi def link sisu_comment Comment
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
270 hi def link sisu_error_sem_marker Error
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
271 hi def link sisu_error_wspace Error
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 2034
diff changeset
272 hi def link sisu_error Error
822
45fad0f590d0 updated for version 7.0c12
vimboss
parents:
diff changeset
273 let b:current_syntax = "sisu"
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
274 let &cpo = s:cpo_save
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2152
diff changeset
275 unlet s:cpo_save