15131
|
1 " vim: set ft=html sw=4 :
|
|
2
|
|
3
|
|
4 " START_INDENT
|
21250
|
5 <html>
|
|
6 <body>
|
|
7 <style>
|
|
8 div#d1 { color: red; }
|
|
9 div#d2 { color: green; }
|
|
10 </style>
|
|
11 <script>
|
|
12 var v1 = "v1";
|
|
13 var v2 = "v2";
|
|
14 </script>
|
15131
|
15 <div>
|
|
16 <div>
|
|
17 text
|
|
18 </div>
|
|
19 </div>
|
|
20
|
|
21 <div
|
|
22 class="foo bar">
|
|
23 text
|
|
24 </div>
|
|
25
|
|
26 <div class="foo bar"
|
|
27 data="something">
|
|
28 text
|
|
29 </div>
|
|
30
|
|
31 <div class="foo
|
|
32 bar">
|
|
33 text
|
|
34 </div>
|
|
35
|
20965
|
36 <dl>
|
|
37 <dd>
|
|
38 dd text
|
|
39 </dd>
|
|
40 <dt>
|
|
41 dt text
|
|
42 </dt>
|
|
43 </dl>
|
|
44
|
21250
|
45 </body>
|
|
46 </html>
|
20965
|
47
|
15131
|
48 " END_INDENT
|
21250
|
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>
|
|
57 div#d1 { color: red; }
|
|
58 div#d2 { color: green; }
|
|
59 </style>
|
|
60 <script>
|
|
61 var v1 = "v1";
|
|
62 var v2 = "v2";
|
|
63 </script>
|
|
64 </body>
|
|
65 </html>
|
|
66 % END_INDENT
|