view runtime/indent/testdir/html.ok @ 21250:21fb2a3ad3ca

Update runtime files Commit: https://github.com/vim/vim/commit/7ff78465f7057a672a6de0d75d56286da253501b Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 10 22:00:53 2020 +0200 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Fri, 10 Jul 2020 22:15:08 +0200
parents 59f93c2d2551
children 5b37a0bf7e3a
line wrap: on
line source

" vim: set ft=html sw=4 :


" 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
	    </div>
	</div>

	<div
	    class="foo bar">
	    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>

    </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