xref: /vim-8.2.3635/runtime/indent/testdir/html.in (revision 7ff78465)
1" vim: set ft=html sw=4 :
2
3
4" START_INDENT
5<html>
6    <body>
7<style>
8div#d1 { color: red; }
9div#d2 { color: green; }
10</style>
11    <script>
12	var v1 = "v1";
13var v2 = "v2";
14    </script>
15<div>
16<div>
17text
18</div>
19</div>
20
21<div
22class="foo bar">
23text
24</div>
25
26<div class="foo bar"
27data="something">
28text
29</div>
30
31<div class="foo
32bar">
33text
34</div>
35
36<dl>
37<dd>
38dd text
39</dd>
40<dt>
41dt text
42</dt>
43</dl>
44
45    </body>
46</html>
47
48" END_INDENT
49
50% START_INDENT
51% INDENT_EXE let g:html_indent_style1 = "inc"
52% INDENT_EXE let g:html_indent_script1 = "zero"
53% INDENT_EXE call HtmlIndent_CheckUserSettings()
54<html>
55    <body>
56<style>
57div#d1 { color: red; }
58div#d2 { color: green; }
59</style>
60    <script>
61	var v1 = "v1";
62var v2 = "v2";
63    </script>
64</body>
65</html>
66% END_INDENT
67