From b75f89ab570e53b70e951e77db48797c803de2ee Mon Sep 17 00:00:00 2001 From: mattn Date: Sun, 10 Jun 2012 01:57:34 +0900 Subject: [PATCH] add cursor position. --- autoload/zencoding/lang/html.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/zencoding/lang/html.vim b/autoload/zencoding/lang/html.vim index ccffda0..c16b004 100644 --- a/autoload/zencoding/lang/html.vim +++ b/autoload/zencoding/lang/html.vim @@ -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