view runtime/indent/testdir/sshconfig.ok @ 23340:8e0d6f355a5a v8.2.2213

patch 8.2.2213: checking white space around -> is not backwards compatible Commit: https://github.com/vim/vim/commit/7cfcd0c99c485a973d8cbff939531e430ad77f55 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Dec 25 16:11:53 2020 +0100 patch 8.2.2213: checking white space around -> is not backwards compatible Problem: Checking white space around -> is not backwards compatible. Solution: Only check white space around =>.
author Bram Moolenaar <Bram@vim.org>
date Fri, 25 Dec 2020 16: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