packages: vim-syntax-vcl/vcl.vim - load html in synthetic text

glen glen at pld-linux.org
Wed Mar 31 00:19:19 CEST 2010


Author: glen                         Date: Tue Mar 30 22:19:19 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- load html in synthetic text

---- Files affected:
packages/vim-syntax-vcl:
   vcl.vim (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/vim-syntax-vcl/vcl.vim
diff -u packages/vim-syntax-vcl/vcl.vim:1.2 packages/vim-syntax-vcl/vcl.vim:1.3
--- packages/vim-syntax-vcl/vcl.vim:1.2	Wed Mar 31 00:18:16 2010
+++ packages/vim-syntax-vcl/vcl.vim	Wed Mar 31 00:19:14 2010
@@ -45,7 +45,11 @@
 syn region vclCBlock matchgroup=vclComment start=/C{/ end=/}C/ contains=@vclC keepend
 
 " Synthetic
-syn region vclSynthetic start=/{"/hs=s+2 end=/"}/he=e-2
+syn region vclSynthetic start=/{"/hs=s+2 end=/"}/he=e-2 contains=@vclHTML keepend
+
+" Allow html in synthetic
+syn include @vclHTML syntax/html.vim
+unlet b:current_syntax
 
 hi link vclCodeBlock	Function
 hi link vclComment 		Comment
================================================================

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



More information about the pld-cvs-commit mailing list