packages: vim-syntax-spec/spec.vim - limit description width to 70 columns ...

sparky sparky at pld-linux.org
Sun Feb 7 18:30:56 CET 2010


Author: sparky                       Date: Sun Feb  7 17:30:56 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- limit description width to 70 columns (mark any exceeding chars as Error)

---- Files affected:
packages/vim-syntax-spec:
   spec.vim (1.99 -> 1.100) 

---- Diffs:

================================================================
Index: packages/vim-syntax-spec/spec.vim
diff -u packages/vim-syntax-spec/spec.vim:1.99 packages/vim-syntax-spec/spec.vim:1.100
--- packages/vim-syntax-spec/spec.vim:1.99	Sun Feb  7 18:18:06 2010
+++ packages/vim-syntax-spec/spec.vim	Sun Feb  7 18:30:51 2010
@@ -168,6 +168,8 @@
 syn match specDescriptionCharset         contained '-l\s[a-z_A-Z]\+\(\.UTF-8\)\?'ms=s+2
 syn match specPreAmbleCharset         contained '([a-z_A-Z]\+\(\.UTF-8\)\?):'
 
+" limit description width to 70 columns
+syn match specDescriptionLimit '\%>70v.\+'
 
 " %% PreAmble Section %%
 " Copyright and Serial were deprecated by License and Epoch
@@ -185,7 +187,7 @@
 
 " %% Description Section %%
 syn region specDescriptionArea matchgroup=specSection start='^%description' end='^%'me=e-1
-	\ contains=specDescriptionOpts,specEmail,specURL,specNumber,specMacroIdentifier,specComment
+	\ contains=specDescriptionOpts,specEmail,specURL,specNumber,specMacroIdentifier,specComment,specDescriptionLimit
 
 " %% Package Section %%
 syn region specPackageArea matchgroup=specSection start='^%package' end='^%'me=e-1
@@ -296,6 +298,7 @@
   HiLink specDate			String
   HiLink specPreAmbleCharset		String
   HiLink specDescriptionCharset		String
+  HiLink specDescriptionLimit		Error
   HiLink specDescriptionOpts		specOpts
   HiLink specEmail			specWWWlink
   HiLink specError			Error
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/vim-syntax-spec/spec.vim?r1=1.99&r2=1.100&f=u



More information about the pld-cvs-commit mailing list