diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-08-21 23:19:43 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-08-21 23:19:53 -0400 |
commit | 750c6c5a86b907edf8bc7161e82695c054c76d74 (patch) | |
tree | 037c9aa7c827ccf1f1f75b7ef27f052e7bfeb302 | |
parent | v5: alternative open and close for blocks using line starting with "```" (diff) |
v5: vim syntax additions, sisu.vimsisu_4.1.12
* ocn (object numbering) on, off, text block using "--~#" "---#" "--+#"
* grouped text, open, close of blocks using tics "```"
-rw-r--r-- | data/doc/sisu/CHANGELOG_v5 | 4 | ||||
-rw-r--r-- | data/sisu/conf/editor-syntax-etc/vim/syntax/sisu.vim | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/data/doc/sisu/CHANGELOG_v5 b/data/doc/sisu/CHANGELOG_v5 index aaeb36f2..07d98caf 100644 --- a/data/doc/sisu/CHANGELOG_v5 +++ b/data/doc/sisu/CHANGELOG_v5 @@ -40,6 +40,10 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_5.0.12.orig.tar.xz end poem: "```" * remove need for an empty line between opening & closing of a text block +* vim syntax, add + * ocn (object numbering) on, off, text block using "--~#" "---#" "--+#" + * grouped text, open, close of blocks using tics "```" + * messages to terminal * code marker * rescued error messages 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 1d5a0748..d1ae5f4b 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.0.9) -" Last Change: 2013-02-22 +" SiSU Markup: SiSU (sisu-5.0.12) +" Last Change: 2013-08-21 " 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) @@ -23,6 +23,8 @@ if !exists("sisu_no_identifiers") syn match sisu_break contains=@NoSpell " \\\\\( \|$\)\|<br>\|<br />" syn match sisu_control contains=@NoSpell "^\(-\\\\-\|=\\\\=\|-\.\.-\|<:p[bn]>\)\s*$" syn match sisu_control contains=@NoSpell "^<:\(bo\|---\)>\s*$" + syn match sisu_control contains=@NoSpell "^```\(\s*\(code\|poem\|group\|table\)\)\?\s*$" + syn match sisu_markail contains=@NoSpell "^--[+~-]#\s*$" syn match sisu_marktail "[~-]#" syn match sisu_control "\"" syn match sisu_underline "\(^\| \)_[a-zA-Z0-9]\+_\([ .,]\|$\)" |