mirror of
https://github.com/mattn/emmet-vim.git
synced 2026-10-12 16:00:12 +08:00
Improve cursor position after expanding for sass
This commit is contained in:
1 parent
d9481c235b
commit
381dd35018
2 files changed
+2
-2
No files matched your search
@@ -52,7 +52,7 @@ function! emmet#lang#sass#toString(settings, current, type, inline, filters, ite
|
||||
for child in current.child
|
||||
let tmp = emmet#toString(child, type, inline, filters, itemno, indent)
|
||||
let tmp = substitute(tmp, "\n", "\n" . escape(indent, '\'), 'g')
|
||||
let tmp = substitute(tmp, "\n" . escape(indent, '\') . '$', '\n', 'g')
|
||||
let tmp = substitute(tmp, "\n" . escape(indent, '\') . '$', '${cursor}\n', 'g')
|
||||
let inner .= tmp
|
||||
endfor
|
||||
if len(inner) > 0
|
||||
|
||||
Reference in new issue
Block a user