mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-07 03:04:27 +08:00
Don't use workaround. remove last ; correctly. Fixes #124
This commit is contained in:
@@ -57,8 +57,7 @@ function! zencoding#lang#sass#toString(settings, current, type, inline, filters,
|
|||||||
let str .= indent . inner
|
let str .= indent . inner
|
||||||
else
|
else
|
||||||
let text = zencoding#lang#css#toString(settings, current, type, inline, filters, itemno, indent)
|
let text = zencoding#lang#css#toString(settings, current, type, inline, filters, itemno, indent)
|
||||||
let text = substitute(text, '\${cursor}', '', 'g')
|
let text = substitute(text, '\s*;\ze\(\${[^}]\+}\)\?\(\n\|$\)', '', 'g')
|
||||||
let text = substitute(text, '\s*;$', '', '')
|
|
||||||
return text
|
return text
|
||||||
endif
|
endif
|
||||||
return str
|
return str
|
||||||
|
|||||||
Reference in New Issue
Block a user