forked from VimPlug/emmet-vim
fix comment filter.
This commit is contained in:
@@ -376,13 +376,14 @@ function! zencoding#lang#html#toString(settings, current, type, inline, filters,
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if len(comment) > 0
|
||||||
|
let str .= "\n<!-- /" . comment . " -->" . (inline ? "" : "\n")
|
||||||
|
endif
|
||||||
|
|
||||||
if !empty(current.parent) && len(current.parent.name) == 0 || (current.multiplier > 0 && current.multiplier == itemno+1 && stridx(','.settings.html.inline_elements.',', ','.current_name.',') == -1)
|
if !empty(current.parent) && len(current.parent.name) == 0 || (current.multiplier > 0 && current.multiplier == itemno+1 && stridx(','.settings.html.inline_elements.',', ','.current_name.',') == -1)
|
||||||
let str .= "\n"
|
let str .= "\n"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if len(comment) > 0
|
|
||||||
let str .= "<!-- /" . comment . " -->" . (inline ? "" : "\n")
|
|
||||||
endif
|
|
||||||
return str
|
return str
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user