diff options
author | Ralph Amissah <ralph@amissah.com> | 2012-02-14 08:32:48 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2012-02-14 20:32:41 -0500 |
commit | 525b4f1a015e86c68a89c3d4137d194e5b80e1d8 (patch) | |
tree | f3fc18d9a2289e24b40723b280de2fbfd9d5b435 | |
parent | v2 v3 v3dv: 3.1.14 & 3.2.0~pre (& 2.9.12) version & changelog "opened" (diff) |
v2: vim syntax highlighting, patch from Thilo Six <T.Six@gmx.de> applied
* Re: <http://thread.gmane.org/gmane.editors.vim.devel/32151> &
<http://vimdoc.sourceforge.net/htmldoc/options.html#cpo-l>
[for v3, see sisu_3.1.13 changelog]
-rw-r--r-- | data/doc/sisu/CHANGELOG_v2 | 4 | ||||
-rw-r--r-- | data/sisu/v2/conf/editor-syntax-etc/vim/syntax/sisu.vim | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/data/doc/sisu/CHANGELOG_v2 b/data/doc/sisu/CHANGELOG_v2 index 35bc6428..ba0af469 100644 --- a/data/doc/sisu/CHANGELOG_v2 +++ b/data/doc/sisu/CHANGELOG_v2 @@ -16,6 +16,10 @@ Reverse Chronological: http://git.sisudoc.org/?p=code/sisu.git;a=log;h=refs/tags/sisu_3.1.14 http://git.sisudoc.org/?p=code/sisu.git;a=log;h=refs/tags/debian/sisu_3.1.14-1 +* v2, vim syntax highlighting, patch from Thilo Six <T.Six@gmx.de> applied + Re: <http://thread.gmane.org/gmane.editors.vim.devel/32151> & + <http://vimdoc.sourceforge.net/htmldoc/options.html#cpo-l> + %% 2.9.11 (2012-01-10:02/2) [see 3.1.11.orig.tar.xz] http://git.sisudoc.org/?p=code/sisu.git;a=log;h=refs/tags/sisu_3.1.11 http://git.sisudoc.org/?p=code/sisu.git;a=log;h=refs/tags/debian/sisu_3.1.11-1 diff --git a/data/sisu/v2/conf/editor-syntax-etc/vim/syntax/sisu.vim b/data/sisu/v2/conf/editor-syntax-etc/vim/syntax/sisu.vim index 00c02a34..be92d62f 100644 --- a/data/sisu/v2/conf/editor-syntax-etc/vim/syntax/sisu.vim +++ b/data/sisu/v2/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-3.0.13) -" Last Change: 2011-06-26 +" SiSU Markup: SiSU (sisu-2.9.12) +" Last Change: 2012-02-11 " URL: <http://git.sisudoc.org/?p=code/sisu.git;a=blob;f=data/sisu/v3/conf/editor-syntax-etc/vim/syntax/sisu.vim;hb=HEAD> "(originally looked at Ruby Vim by Mirko Nasato) @@ -11,6 +11,8 @@ elseif exists("b:current_syntax") finish else endif +let s:cpo_save = &cpo +set cpo&vim " Errors: syn match sisu_error contains=sisu_link,sisu_error_wspace "<![^ei]\S\+!>" @@ -208,3 +210,5 @@ hi def link sisu_error_sem_marker Error hi def link sisu_error_wspace Error hi def link sisu_error Error let b:current_syntax = "sisu" +let &cpo = s:cpo_save +unlet s:cpo_save |