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
+1 -1
View File
@@ -79,7 +79,7 @@ function! emmet#lang#sass#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 n = curpos[1]
let ml = len(matchstr(getline(n), '^\s*'))