2022-08-20 01:04:55 -07:00
|
|
|
% vim: set ft=html sw=4 ts=8 :
|
2019-07-28 17:37:38 -07:00
|
|
|
|
|
|
|
|
2022-08-20 01:04:55 -07:00
|
|
|
% START_INDENT
|
2021-04-28 19:51:23 -07:00
|
|
|
<html>
|
|
|
|
<body>
|
|
|
|
<style>
|
|
|
|
div#d1 { color: red; }
|
|
|
|
div#d2 { color: green; }
|
|
|
|
</style>
|
|
|
|
<script>
|
|
|
|
var v1 = "v1";
|
|
|
|
var v2 = "v2";
|
|
|
|
</script>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
text
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-04-28 18:58:50 -07:00
|
|
|
|
2021-04-28 19:51:23 -07:00
|
|
|
<div
|
2021-05-01 20:21:50 -07:00
|
|
|
class="foo bar">
|
2021-04-28 19:51:23 -07:00
|
|
|
text
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="foo bar"
|
|
|
|
data="something">
|
|
|
|
text
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="foo
|
|
|
|
bar">
|
|
|
|
text
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<dl>
|
|
|
|
<dd>
|
|
|
|
dd text
|
|
|
|
</dd>
|
|
|
|
<dt>
|
|
|
|
dt text
|
|
|
|
</dt>
|
|
|
|
</dl>
|
2022-01-31 10:09:51 -07:00
|
|
|
<div
|
|
|
|
class="test"
|
|
|
|
style="color: yellow">
|
|
|
|
text
|
|
|
|
</div>
|
2021-04-28 19:51:23 -07:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
2021-04-28 18:58:50 -07:00
|
|
|
|
2022-08-20 01:04:55 -07:00
|
|
|
% END_INDENT
|
2021-04-28 19:51:23 -07:00
|
|
|
|
|
|
|
% START_INDENT
|
|
|
|
% INDENT_EXE let g:html_indent_style1 = "inc"
|
|
|
|
% INDENT_EXE let g:html_indent_script1 = "zero"
|
2022-01-31 10:09:51 -07:00
|
|
|
% INDENT_EXE let g:html_indent_attribute = 1
|
2021-04-28 19:51:23 -07:00
|
|
|
% INDENT_EXE call HtmlIndent_CheckUserSettings()
|
|
|
|
<html>
|
|
|
|
<body>
|
|
|
|
<style>
|
|
|
|
div#d1 { color: red; }
|
|
|
|
div#d2 { color: green; }
|
|
|
|
</style>
|
|
|
|
<script>
|
|
|
|
var v1 = "v1";
|
|
|
|
var v2 = "v2";
|
|
|
|
</script>
|
2022-01-31 10:09:51 -07:00
|
|
|
<div
|
|
|
|
class="test"
|
|
|
|
style="color: yellow">
|
|
|
|
text
|
|
|
|
</div>
|
2021-04-28 19:51:23 -07:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
% END_INDENT
|