mirror of
https://github.com/mattn/emmet-vim.git
synced 2026-10-10 07:15:48 +08:00
Restore cursor position on insert-mode
This commit is contained in:
1 parent
a5313498d7
commit
5d90a2c83d
8 files changed
+30
-15
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user