From 6571c873364b8a488385b4907af73bf0d99600bc Mon Sep 17 00:00:00 2001 From: mattn Date: Mon, 15 Mar 2010 13:21:54 +0900 Subject: [PATCH] xsl filter. --- zencoding.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zencoding.vim b/zencoding.vim index 505f26c..a162b1b 100644 --- a/zencoding.vim +++ b/zencoding.vim @@ -1147,6 +1147,9 @@ function! s:zen_toString(...) endif let tmp = '<' . current.name for attr in keys(current.attr) + if current.name =~ '^\(xsl:with-param\|xsl:variable\)$' && s:zen_use_filter(filters, 'xsl') && len(current.child) && attr == 'select' + continue + endif let val = current.attr[attr] if current.multiplier > 1 while val =~ '\$\([^{]\|$\)'