Add some workaround for #248

This commit is contained in:
mattn
2015-01-08 14:23:34 +09:00
parent a9b29f786e
commit 8b9bcac7a0
2 changed files with 6 additions and 1 deletions

View File

@@ -510,7 +510,11 @@ function! emmet#lang#html#toString(settings, current, type, inline, filters, ite
let str .= inner
endfor
else
let str .= '${cursor}'
if settings.html.indent_blockelement && len(current_name) > 0 && stridx(','.settings.html.inline_elements.',', ','.current_name.',') == -1
let str .= "\n" . indent . '${cursor}' . "\n"
else
let str .= '${cursor}'
endif
endif
if dr
let str .= "\n"