view runtime/indent/testdir/xml.ok @ 24760:ca0f983f08cf v8.2.2918

patch 8.2.2918: builtin function can be shadowed by global variable Commit: https://github.com/vim/vim/commit/3d9c4eefe656ee8bf58c0496a48bd56bac180056 Author: Bram Moolenaar <Bram@vim.org> Date: Mon May 31 22:15:26 2021 +0200 patch 8.2.2918: builtin function can be shadowed by global variable Problem: Builtin function can be shadowed by global variable. Solution: Check for builtin function before variable. (Yasuhiro Matsumoto, closes #8302)
author Bram Moolenaar <Bram@vim.org>
date Mon, 31 May 2021 22:30:02 +0200
parents bd7461db24b3
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 -->