r1051 - in /trunk/packages/vim: debian/changelog patches/samba.vim.diff patches/series patches/tex.vim-syntax_additions.diff

jamessan at users.alioth.debian.org jamessan at users.alioth.debian.org
Sun Sep 30 17:21:19 UTC 2007


Author: jamessan
Date: Sun Sep 30 17:21:19 2007
New Revision: 1051

URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=1051
Log:
* Add samba.vim.diff which fixes the highlighting for "smb ports".  Thanks
  Alberto Reyes.  (Closes: #386064)
* Add tex.vim-syntax_additions.diff, which adds syntax highlighting for
  acronyms, URLs, and citetest.  (Closes: #444411, #444408, #444301)

Added:
    trunk/packages/vim/patches/samba.vim.diff
    trunk/packages/vim/patches/tex.vim-syntax_additions.diff
Modified:
    trunk/packages/vim/debian/changelog
    trunk/packages/vim/patches/series

Modified: trunk/packages/vim/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/debian/changelog?rev=1051&op=diff
==============================================================================
--- trunk/packages/vim/debian/changelog (original)
+++ trunk/packages/vim/debian/changelog Sun Sep 30 17:21:19 2007
@@ -21,6 +21,10 @@
     "foldopen" command.  (Closes: #441315)
   * Add de.po.diff to fix the translation of "Load File".  Thanks Torsten
     Werner.  (Closes: #443529)
+  * Add samba.vim.diff which fixes the highlighting for "smb ports".  Thanks
+    Alberto Reyes.  (Closes: #386064)
+  * Add tex.vim-syntax_additions.diff, which adds syntax highlighting for
+    acronyms, URLs, and citetest.  (Closes: #444411, #444408, #444301)
 
  -- James Vega <jamessan at debian.org>  Sun, 30 Sep 2007 01:45:45 -0400
 

Added: trunk/packages/vim/patches/samba.vim.diff
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/patches/samba.vim.diff?rev=1051&op=file
==============================================================================
--- trunk/packages/vim/patches/samba.vim.diff (added)
+++ trunk/packages/vim/patches/samba.vim.diff Sun Sep 30 17:21:19 2007
@@ -1,0 +1,13 @@
+Index: vim/runtime/syntax/samba.vim
+===================================================================
+--- vim/runtime/syntax/samba.vim.orig
++++ vim/runtime/syntax/samba.vim
+@@ -51,7 +51,7 @@
+ syn keyword sambaKeyword contained netbios nis notify nt null offset ok ole
+ syn keyword sambaKeyword contained only open oplock oplocks options order os
+ syn keyword sambaKeyword contained output packet page panic passwd password
+-syn keyword sambaKeyword contained passwords path permissions pipe port
++syn keyword sambaKeyword contained passwords path permissions pipe ports
+ syn keyword sambaKeyword contained postexec postscript prediction preexec
+ syn keyword sambaKeyword contained prefered preferred preload preserve print
+ syn keyword sambaKeyword contained printable printcap printer printers

Modified: trunk/packages/vim/patches/series
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/patches/series?rev=1051&op=diff
==============================================================================
--- trunk/packages/vim/patches/series (original)
+++ trunk/packages/vim/patches/series Sun Sep 30 17:21:19 2007
@@ -23,3 +23,5 @@
 ruby.vim_indent.diff -p0
 index.txt.diff -p0
 de.po.diff -p0
+samba.vim.diff -p0
+tex.vim-syntax_additions.diff -p0

Added: trunk/packages/vim/patches/tex.vim-syntax_additions.diff
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/patches/tex.vim-syntax_additions.diff?rev=1051&op=file
==============================================================================
--- trunk/packages/vim/patches/tex.vim-syntax_additions.diff (added)
+++ trunk/packages/vim/patches/tex.vim-syntax_additions.diff Sun Sep 30 17:21:19 2007
@@ -1,0 +1,40 @@
+Index: vim/runtime/syntax/tex.vim
+===================================================================
+--- vim/runtime/syntax/tex.vim.orig
++++ vim/runtime/syntax/tex.vim
+@@ -125,6 +125,8 @@
+  syn cluster texSubSubSectionGroup	contains=texParaZone
+  syn cluster texParaGroup		contains=texSubParaZone
+ endif
++syn cluster texURLGroup			contains=texMatcher, at NoSpell
++syn cluster texAcroGroup		contains=texMatcher, at NoSpell
+ 
+ " Try to flag {} and () mismatches: {{{1
+ if !exists("g:tex_no_error")
+@@ -416,8 +418,10 @@
+ syn region texRefZone		matchgroup=texStatement start="\\\(page\|eq\)ref{"	end="}\|%stopzone\>"	contains=@texRefGroup
+ syn region texRefZone		matchgroup=texStatement start="\\v\=ref{"		end="}\|%stopzone\>"	contains=@texRefGroup
+ syn match  texRefZone		'\\cite\%([tp]\*\=\)\=' nextgroup=texRefOption,texCite
++syn match  texRefZone		'\\citetext' nextgroup=texRefOption,texFreeCite
+ syn region texRefOption	contained	matchgroup=Delimiter start='\[' end=']'		contains=@texRefGroup	nextgroup=texRefOption,texCite
+ syn region texCite	contained	matchgroup=Delimiter start='{' end='}'		contains=@texRefGroup
++syn region texFreeCite	contained	matchgroup=Delimiter start='{'rs=s+1 skip="\\\\\|\\[{}]" end='}'		contains=@texMatchGroup
+ 
+ " Handle newcommand, newenvironment : {{{1
+ syn match  texNewCmd				"\\newcommand\>"			nextgroup=texCmdName skipwhite skipnl
+@@ -441,6 +445,15 @@
+ syn match texDefParms  contained		"#[^{]*"	contains=texDefParm	nextgroup=texCmdBody skipwhite skipnl
+ syn match  texDefParm  contained		"#\d\+"
+ 
++" Tex URL Zones: {{{1
++syn region texURLZone		matchgroup=texStatement start="\\\%(url\|href\){"	end="}\|%stopzone\>"	contains=@texURLGroup
++syn region texURLZone		matchgroup=texStatement start="\\burl\%(alt\)\={"	end="}\|%stopzone\>"	contains=@texURLGroup
++syn region texURLZone		matchgroup=texStatement start="\\\%(link\|email\){"	end="}\|%stopzone\>"	contains=@texURLGroup
++
++" Tex Acronyms: {{{1
++syn region texAcronym		matchgroup=texStatement start="\\ac\%(fi\|[fls]\=p\=\)\*\={"		end="}\|%stopzone\>"	contains=@texAcroGroup
++syn region texAcronym		matchgroup=texStatement start="\\ac\%(used\|[ls]u\*\=\){"		end="}\|%stopzone\>"	contains=@texAcroGroup
++
+ " TeX Lengths: {{{1
+ syn match  texLength		"\<\d\+\([.,]\d\+\)\=\s*\(true\)\=\s*\(bp\|cc\|cm\|dd\|em\|ex\|in\|mm\|pc\|pt\|sp\)\>"
+ 




More information about the pkg-vim-maintainers mailing list