add cursor position.

This commit is contained in:
mattn
2012-06-10 01:57:34 +09:00
parent b62af86318
commit b75f89ab57

View File

@@ -317,6 +317,7 @@ function! zencoding#lang#html#toString(settings, current, type, inline, filters,
else
let str .= ">"
let str .= current.value[1:-2]
let str .= '${cursor}'
for n in range(len(current.child))
let child = current.child[n]
if len(current.child) > 0 && stridx(','.settings.html.inline_elements.',', ','.current_name.',') == -1