summaryrefslogtreecommitdiff
path: root/runtime/indent/testdir/html.in
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/indent/testdir/html.in')
-rw-r--r--runtime/indent/testdir/html.in30
1 files changed, 30 insertions, 0 deletions
diff --git a/runtime/indent/testdir/html.in b/runtime/indent/testdir/html.in
index 80ce0cdf8..1acf8c040 100644
--- a/runtime/indent/testdir/html.in
+++ b/runtime/indent/testdir/html.in
@@ -2,6 +2,16 @@
" START_INDENT
+<html>
+ <body>
+<style>
+div#d1 { color: red; }
+div#d2 { color: green; }
+</style>
+ <script>
+ var v1 = "v1";
+var v2 = "v2";
+ </script>
<div>
<div>
text
@@ -32,5 +42,25 @@ dt text
</dt>
</dl>
+ </body>
+</html>
" END_INDENT
+
+% START_INDENT
+% INDENT_EXE let g:html_indent_style1 = "inc"
+% INDENT_EXE let g:html_indent_script1 = "zero"
+% 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>
+</body>
+</html>
+% END_INDENT