vim-emblem
vim-emblem copied to clipboard
Text blocks have color after first line
e.g.:
Weirdly enough though, if i add a line above this block, it will correctly display:
Reproduced and acknowledged.
Fixed with a better algorithm of matching text
and comment
blocks. the old one tries to match it in one regex; the new one is arguably more natural, and defines a region with starting and ending markers.
This might belong in its own issue, but this should also show up as all grey.
edit: better image
Ah, I completely missed this syntax.
@machty is the following allowed?
tag-one: tag-two foo foo foo
bar bar bar
What is bar bar bar
? Is it treated as part of the text starting from foo foo foo
, or a general newline? (bar
handlebars helper called with args bar bar
)
Assuming tag-one
and tag-two
are placeholders for known HTML5 elements, this would translate to
<tag-one>
<tag-two>
foo foo foo bar bar bar
</tag-two>
</tag-one>
It's weird, but allowed. It'd be really crazy/awesome if you could get auto indentation to work such that it'd encourage you to write like:
tag-one: tag-two foo foo foo
bar bar bar
Alright, thanks for the clarification