view runtime/indent/testdir/sshconfig.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 74e3316c1d5a
children
line wrap: on
line source

# vim: set filetype=sshconfig shiftwidth=4 expandtab :

# START_INDENT
Host myhost
    User myuser
    PasswordAuthentication no
# END_INDENT

# START_INDENT
Host aaa
    User bbb
Host ccc
Host ddd
# END_INDENT

# START_INDENT
host aaa
HOST bbb
hoSt ccc
match ddd
MATCH eee
MatCH fff
# END_INDENT

# START_INDENT
Host aaa
    User host
    PasswordAuthentication no
Host *
    User user
    PasswordAuthentication no
Host match
    User bbb
# END_INDENT

# START_INDENT
Host	tab
    User myuser
# END_INDENT

# START_INDENT
Host 	 mix
    User myuser
# END_INDENT

# START_INDENT
Host aaa
    User bbb
Match ccc
    User ddd
    HostKeyAlgorithms ssh-ed25519
Match eee
# END_INDENT