move cursor to eol if value was set.

This commit is contained in:
mattn
2012-10-24 10:34:30 +09:00
parent 34ce1afda0
commit 95455cc4c8

View File

@@ -72,6 +72,9 @@ function! zencoding#lang#css#parseIntoTree(abbr, type)
let current.snippet = join(lines, "\n")
let current.name = ''
let current.snippet = substitute(current.snippet, ';', value . ';', '')
if use_pipe_for_cursor
let current.snippet = substitute(current.snippet, '${cursor}', '', 'g') . '${cursor}'
endif
endif
let current.pos = 0