Fix $# expands

This commit is contained in:
mattn
2013-04-09 18:14:39 +09:00
parent f5bb76ba39
commit dc199ba273

View File

@@ -172,7 +172,7 @@ function! zencoding#toString(...)
let inner = zencoding#lang#{rtype}#toString(s:zen_settings, current, type, inline, filters, itemno, indent)
endif
if current.multiplier > 1
let inner = substitute(inner, '\("\zs$#\ze"\|\s\zs\$#"\|"\$#\ze\s\)', '$line'.(itemno+1).'$', 'g')
let inner = substitute(inner, '\$#', '$line'.(itemno+1).'$', 'g')
endif
let str .= inner
else