From f33f8aab68c7ac0277b5d7fea480b87c8025b621 Mon Sep 17 00:00:00 2001 From: mattn Date: Fri, 26 Feb 2010 17:36:29 +0900 Subject: [PATCH] for debug. --- zencoding.vim | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/zencoding.vim b/zencoding.vim index 5812e35..c28fe04 100644 --- a/zencoding.vim +++ b/zencoding.vim @@ -962,7 +962,7 @@ function! s:zen_parseIntoTree(abbr, type) endfor endif let abbr = abbr[stridx(abbr, match) + len(match):] - if 0 + if exists('g:zencoding_debug') echo "str=".str echo "block_start=".block_start echo "tag_name=".tag_name @@ -1202,7 +1202,10 @@ if exists('g:user_zen_settings') call s:zen_mergeConfig(s:zen_settings, g:user_zen_settings) endif -" test +if !exists('g:zencoding_debug') + finish +endif + "echo ZenExpand('html:xt>div#header>div#logo+ul#nav>li.item-$*5>a', '') "echo ZenExpand('ol>li*2', '') "echo ZenExpand('a', '')