Does anyone know what settings or package I can use to make vim autoindent html if it's wider that the screen. eg. it is displaying like this:
<main>
<section>
<form action="#">
<input type="text" class="someclassname" id="someid" value="foo"
placeholder="" data-foo="foo" data-bar="bar" />
</form>
</section>
</main>
I would like it to indent the broken line like this:
<main>
<section>
<form action="#">
<input type="text" class="someclassname" id="someid" value="foo"
placeholder="" data-foo="foo" data-bar="bar" />
</form>
</section>
</main>
or even this:
<main>
<section>
<form action="#">
<input type="text"
class="someclassname"
id="someid" value="foo"
placeholder="enter something"
data-foo="foo"
data-bar="bar" />
</form>
</section>
</main>
Cheers