From 750c6c5a86b907edf8bc7161e82695c054c76d74 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 21 Aug 2013 23:19:43 -0400 Subject: v5: vim syntax additions, sisu.vim * ocn (object numbering) on, off, text block using "--~#" "---#" "--+#" * grouped text, open, close of blocks using tics "```" --- data/doc/sisu/CHANGELOG_v5 | 4 ++++ 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 -" 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: "(originally looked at Ruby Vim by Mirko Nasato) @@ -23,6 +23,8 @@ if !exists("sisu_no_identifiers") syn match sisu_break contains=@NoSpell " \\\\\( \|$\)\|
\|
" 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]\+_\([ .,]\|$\)" -- cgit v1.2.3