r1262 - in /trunk/packages/vim-scripts: debian/changelog syntax/mkd.vim
madduck at users.alioth.debian.org
madduck at users.alioth.debian.org
Thu Jun 19 15:25:10 UTC 2008
Author: madduck
Date: Thu Jun 19 15:25:09 2008
New Revision: 1262
URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=1262
Log:
Updated mkd.vim syntax file to version 8
Signed-off-by: martin f. krafft <madduck at madduck.net>
Modified:
trunk/packages/vim-scripts/debian/changelog
trunk/packages/vim-scripts/syntax/mkd.vim
Modified: trunk/packages/vim-scripts/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/changelog?rev=1262&op=diff
==============================================================================
--- trunk/packages/vim-scripts/debian/changelog (original)
+++ trunk/packages/vim-scripts/debian/changelog Thu Jun 19 15:25:09 2008
@@ -1,8 +1,9 @@
vim-scripts (7.1.8) UNRELEASED; urgency=low
- * NOT RELEASED YET
-
- -- James Vega <jamessan at debian.org> Sun, 20 Apr 2008 11:07:36 -0400
+ * Updated addons:
+ - Markdown syntax
+
+ -- martin f. krafft <madduck at debian.org> Thu, 19 Jun 2008 17:24:13 +0200
vim-scripts (7.1.7) unstable; urgency=low
Modified: trunk/packages/vim-scripts/syntax/mkd.vim
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/syntax/mkd.vim?rev=1262&op=diff
==============================================================================
--- trunk/packages/vim-scripts/syntax/mkd.vim (original)
+++ trunk/packages/vim-scripts/syntax/mkd.vim Thu Jun 19 15:25:09 2008
@@ -2,8 +2,8 @@
" Language: Markdown
" Maintainer: Ben Williams <benw at plasticboy.com>
" URL: http://plasticboy.com/markdown-vim-mode/
-" Version: 7
-" Last Change: 2008 March 1
+" Version: 8
+" Last Change: 2008 April 29
" Remark: Uses HTML syntax file
" Remark: I don't do anything with angle brackets (<>) because that would too easily
" easily conflict with HTML syntax
@@ -37,10 +37,10 @@
syn sync linebreaks=1
"additions to HTML groups
-syn region htmlBold start=/\*\@<!\*\*\*\@!/ end=/\*\@<!\*\*\*\@!/ contains=@Spell,htmlItalic
-syn region htmlItalic start=/\*\@<!\*\*\@!/ end=/*\@<!\*\*\@!/ contains=htmlBold, at Spell
-syn region htmlBold start=/_\@<!___\@!/ end=/_\@<!___\@!/ contains=htmlItalic, at Spell
-syn region htmlItalic start=/_\@<!__\@!/ end=/_\@<!__\@!/ contains=htmlBold, at Spell
+syn region htmlBold start=/\(^\|\s\)\*\@<!\*\*\*\@!/ end=/\*\@<!\*\*\*\@!\($\|\s\)/ contains=@Spell,htmlItalic
+syn region htmlItalic start=/\(^\|\s\)\*\@<!\*\*\@!/ end=/\*\@<!\*\*\@!\($\|\s\)/ contains=htmlBold, at Spell
+syn region htmlBold start=/\(^\|\s\)_\@<!___\@!/ end=/_\@<!___\@!\($\|\s\)/ contains=htmlItalic, at Spell
+syn region htmlItalic start=/\(^\|\s\)_\@<!__\@!/ end=/_\@<!__\@!\($\|\s\)/ contains=htmlBold, at Spell
syn region htmlString start="]("ms=s+2 end=")"me=e-1
syn region htmlLink start="\["ms=s+1 end="\]"me=e-1 contains=@Spell
syn region htmlString start="\(\[.*]: *\)\@<=.*" end="$"
More information about the pkg-vim-maintainers
mailing list