diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-01-06 22:59:26 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-01-06 22:59:59 -0500 |
commit | 3e671eaab4ec82bc64fdd8563e1cf25e532efece (patch) | |
tree | 130c89ac20d8c0bc280e4856bc59287deefcf7f0 | |
parent | v5: single document root A~ (recalibrate headings); level D~ possible (diff) |
v5: vim syntax, v5.2 match heading level D~
-rw-r--r-- | data/doc/sisu/CHANGELOG_v5 | 2 | ||||
-rw-r--r-- | data/sisu/conf/editor-syntax-etc/vim/syntax/sisu.vim | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/data/doc/sisu/CHANGELOG_v5 b/data/doc/sisu/CHANGELOG_v5 index 9e7547dd..4ec2e5dd 100644 --- a/data/doc/sisu/CHANGELOG_v5 +++ b/data/doc/sisu/CHANGELOG_v5 @@ -57,6 +57,8 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_5.2.0.orig.tar.xz of Goods (CISG) that requires levels A-D & 1, and in previous versions of sisu exceptionally required multiple level A's (using levels A-C & 1) +* vim syntax, updated to allow for possible level D~ + * bin/sisu * (ensure SiSU_version_dir) fix * sisu version info, yml info also when installed via ruby gem diff --git a/data/sisu/conf/editor-syntax-etc/vim/syntax/sisu.vim b/data/sisu/conf/editor-syntax-etc/vim/syntax/sisu.vim index a0f17272..bee822db 100644 --- a/data/sisu/conf/editor-syntax-etc/vim/syntax/sisu.vim +++ b/data/sisu/conf/editor-syntax-etc/vim/syntax/sisu.vim @@ -1,7 +1,7 @@ " SiSU Vim syntax file " SiSU Maintainer: Ralph Amissah <ralph@amissah.com> -" SiSU Markup: SiSU (sisu-4.2.2) -" Last Change: 2013-09-02 +" SiSU Markup: SiSU (sisu-5.2.0) +" Last Change: 2014-01-06 " URL: <http://git.sisudoc.org/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/syntax/sisu.vim;hb=HEAD> "(originally looked at Ruby Vim by Mirko Nasato) @@ -96,7 +96,7 @@ syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_ 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$" "% "Headings: -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-8]\|:\?[A-C]\)\~\(\S\+\|[^-]\)" end="$" +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-8]\|:\?[A-D]\)\~\(\S\+\|[^-]\)" end="$" "% "Block Group Text: " table |