packages: vim-syntax-spec/spec.vim - allow + in urls

glen glen at pld-linux.org
Sat Apr 17 19:16:38 CEST 2010


Author: glen                         Date: Sat Apr 17 17:16:38 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- allow + in urls

---- Files affected:
packages/vim-syntax-spec:
   spec.vim (1.107 -> 1.108) 

---- Diffs:

================================================================
Index: packages/vim-syntax-spec/spec.vim
diff -u packages/vim-syntax-spec/spec.vim:1.107 packages/vim-syntax-spec/spec.vim:1.108
--- packages/vim-syntax-spec/spec.vim:1.107	Thu Apr 15 08:50:01 2010
+++ packages/vim-syntax-spec/spec.vim	Sat Apr 17 19:16:33 2010
@@ -61,8 +61,8 @@
 " #, @, www
 syn match specNumber '\(^-\=\|[ \t]-\=\|-\)[0-9.-]*[0-9]'
 syn match specEmail contained "<\=\<[A-Za-z0-9_.-]\+@\([A-Za-z0-9_-]\+\.\)\+[A-Za-z]\+\>>\="
-syn match specURL      contained '\<\(\(https\{0,1}\|ftp\)://\|\(www[23]\{0,1}\.\|ftp\.\)\)[A-Za-z0-9._/~:,#?=-]\+\>'
-syn match specURLMacro contained '\<\(\(https\{0,1}\|ftp\)://\|\(www[23]\{0,1}\.\|ftp\.\)\)[A-Za-z0-9._/~:,#%{}-]\+\>' contains=specMacroIdentifier
+syn match specURL      contained '\<\(\(https\{0,1}\|ftp\)://\|\(www[23]\{0,1}\.\|ftp\.\)\)[A-Za-z0-9._/~:,#+?=-]\+\>'
+syn match specURLMacro contained '\<\(\(https\{0,1}\|ftp\)://\|\(www[23]\{0,1}\.\|ftp\.\)\)[A-Za-z0-9._/~:,#+%{}-]\+\>' contains=specMacroIdentifier
 
 " TODO take specSpecialVariables out of the cluster for the sh* contains (ALLBUT)
 " Special system directories
================================================================

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



More information about the pld-cvs-commit mailing list