Restore cursor position on insert-mode

This commit is contained in:
mattn
2013-09-09 21:19:38 +09:00
parent a5313498d7
commit 5d90a2c83d
8 changed files with 30 additions and 15 deletions

View File

@@ -194,7 +194,7 @@ function! emmet#lang#css#balanceTag(flag) range
if a:flag == -2 || a:flag == 2
let curpos = [0, line("'<"), col("'<"), 0]
else
let curpos = getpos('.')
let curpos = emmet#util#getcurpos()
endif
let block = emmet#util#getVisualBlock()
if !emmet#util#regionIsValid(block)