view runtime/indent/testdir/xml.ok @ 22707:9ff187b1652e v8.2.1902

patch 8.2.1902: default option values changed with :badd for existing buffer Commit: https://github.com/vim/vim/commit/e974fa7b2b98e53a59d5ef16a6a1291f12a32e33 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Oct 25 15:02:51 2020 +0100 patch 8.2.1902: default option values changed with :badd for existing buffer Problem: Default option values are changed when using :badd for an existing buffer. Solution: When calling buflist_new() pass a zero line number. (closes #7195)
author Bram Moolenaar <Bram@vim.org>
date Sun, 25 Oct 2020 15:15:03 +0100
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 -->