view runtime/indent/testdir/xml.in @ 18816:15539899a112 v8.1.2396

patch 8.1.2396: using old C style comments Commit: https://github.com/vim/vim/commit/e38eab22c1fb950127f0307a9904de6d4561dc70 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 5 21:50:01 2019 +0100 patch 8.1.2396: using old C style comments Problem: Using old C style comments. Solution: Use // comments where appropriate.
author Bram Moolenaar <Bram@vim.org>
date Thu, 05 Dec 2019 22:00:04 +0100
parents 8b334e4cb97f
children bdda48f01a68
line wrap: on
line source

<!-- vim: set ft=xml ts=8 sw=0 sts=-1 et : -->
<!-- START_INDENT -->
<?xml version="1.0" encoding="utf-8"?>
<tag0>
  <tag1>
<!-- comment -->
<tag2>
  <tag3/>
</tag2>
<!-- text comment -->

<!--
text comment
-->
</tag1>
<!--
text comment
end coment -->
</tag0>
<!-- END_INDENT -->

<!-- START_INDENT -->
<?xml version="1.0" encoding="utf-8"?>
<tag0>
  <tag1>
<!-- comment -->
<tag2>
  <tag3/>
</tag2>
</tag1>
</tag0>
<!-- END_INDENT -->