annotate runtime/syntax/sshdconfig.vim @ 8261:a412b466bedc v7.4.1423

commit https://github.com/vim/vim/commit/4cafa6dc7f0728b018979aff0ca039908ecf2ae1 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Feb 26 11:52:39 2016 +0100 patch 7.4.1423 Problem: Channel test fails on MS-Windows. Solution: Do not give an error message when reading fails, assume the other end exited.
author Christian Brabandt <cb@256bit.org>
date Fri, 26 Feb 2016 12:00:05 +0100
parents 3012eaddb6b2
children 1bf1b88968a2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
2 " Language: OpenSSH server configuration file (sshd_config)
7384
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
3 " Author: David Necas (Yeti)
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
4 " Maintainer: Dominik Fischer <d dot f dot fischer at web dot de>
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
5 " Contributor: Thilo Six
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
6 " Contributor: Leonard Ehrenfried <leonard.ehrenfried@web.de>
7597
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
7 " Contributor: Karsten Hopp <karsten@redhat.com>
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
8 " Originally: 2009-07-09
7597
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
9 " Last Change: 2016 Jan 12
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
10 " SSH Version: 7.1
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
11 "
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 " Setup
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 if version >= 600
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
15 if exists("b:current_syntax")
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
16 finish
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
17 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 else
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
19 syntax clear
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 if version >= 600
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
23 setlocal iskeyword=_,-,a-z,A-Z,48-57
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 else
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
25 set iskeyword=_,-,a-z,A-Z,48-57
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
28
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
29 " case on
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
30 syn case match
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
31
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 " Comments
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
34 syn match sshdconfigComment "^#.*$" contains=sshdconfigTodo
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
35 syn match sshdconfigComment "\s#.*$" contains=sshdconfigTodo
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
36
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
37 syn keyword sshdconfigTodo TODO FIXME NOTE contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 " Constants
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
40 syn keyword sshdconfigYesNo yes no none
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
41
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
42 syn keyword sshdconfigAddressFamily any inet inet6
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
43
7384
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
44 syn keyword sshdconfigPrivilegeSeparation sandbox
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
45
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
46 syn keyword sshdconfigTcpForwarding local remote
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
47
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
48 syn keyword sshdconfigRootLogin prohibit-password without-password forced-commands-only
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
49
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 syn keyword sshdconfigCipher aes128-cbc 3des-cbc blowfish-cbc cast128-cbc
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
51 syn keyword sshdconfigCipher aes192-cbc aes256-cbc aes128-ctr aes192-ctr aes256-ctr
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 7
diff changeset
52 syn keyword sshdconfigCipher arcfour arcfour128 arcfour256 cast128-cbc
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
53
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 syn keyword sshdconfigMAC hmac-md5 hmac-sha1 hmac-ripemd160 hmac-sha1-96
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 syn keyword sshdconfigMAC hmac-md5-96
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
56 syn keyword sshdconfigMAC hmac-sha2-256 hmac-sha256-96 hmac-sha2-512
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
57 syn keyword sshdconfigMAC hmac-sha2-512-96
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
58 syn match sshdconfigMAC "\<umac-64@openssh\.com\>"
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
59
7384
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
60 syn keyword sshdconfigRootLogin prohibit-password without-password forced-commands-only
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
61
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 syn keyword sshdconfigLogLevel QUIET FATAL ERROR INFO VERBOSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 syn keyword sshdconfigLogLevel DEBUG DEBUG1 DEBUG2 DEBUG3
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
64 syn keyword sshdconfigSysLogFacility DAEMON USER AUTH AUTHPRIV LOCAL0 LOCAL1
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
65 syn keyword sshdconfigSysLogFacility LOCAL2 LOCAL3 LOCAL4 LOCAL5 LOCAL6 LOCAL7
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
66
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
67 syn keyword sshdconfigCompression delayed
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
68
7597
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
69 syn match sshdconfigIPQoS "af1[123]"
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
70 syn match sshdconfigIPQoS "af2[123]"
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
71 syn match sshdconfigIPQoS "af3[123]"
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
72 syn match sshdconfigIPQoS "af4[123]"
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
73 syn match sshdconfigIPQoS "cs[0-7]"
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
74 syn keyword sshdconfigIPQoS ef lowdelay throughput reliability
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
75
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
76 syn keyword sshdconfigKexAlgo ecdh-sha2-nistp256 ecdh-sha2-nistp384 ecdh-sha2-nistp521
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
77 syn keyword sshdconfigKexAlgo diffie-hellman-group-exchange-sha256
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
78 syn keyword sshdconfigKexAlgo diffie-hellman-group-exchange-sha1
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
79 syn keyword sshdconfigKexAlgo diffie-hellman-group14-sha1
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
80 syn keyword sshdconfigKexAlgo diffie-hellman-group1-sha1
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
81
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
82 syn keyword sshdconfigTunnel point-to-point ethernet
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
83
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
84 syn keyword sshdconfigSubsystem internal-sftp
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
85
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
86 syn match sshdconfigVar "%[hu]\>"
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
87 syn match sshdconfigVar "%%"
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
88
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 syn match sshdconfigSpecial "[*?]"
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
90
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 syn match sshdconfigNumber "\d\+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 syn match sshdconfigHostPort "\<\(\d\{1,3}\.\)\{3}\d\{1,3}\(:\d\+\)\?\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 syn match sshdconfigHostPort "\<\([-a-zA-Z0-9]\+\.\)\+[-a-zA-Z0-9]\{2,}\(:\d\+\)\?\>"
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
94 " FIXME: this matches quite a few things which are NOT valid IPv6 addresses
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 syn match sshdconfigHostPort "\<\(\x\{,4}:\)\+\x\{,4}:\d\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 syn match sshdconfigTime "\<\(\d\+[sSmMhHdDwW]\)\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
98
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
99 " case off
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
100 syn case ignore
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
101
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
102
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 " Keywords
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
104 syn keyword sshdconfigMatch Host User Group Address
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
105
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
106 syn keyword sshdconfigKeyword AcceptEnv
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
107 syn keyword sshdconfigKeyword AddressFamily
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
108 syn keyword sshdconfigKeyword AllowAgentForwarding
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
109 syn keyword sshdconfigKeyword AllowGroups
7384
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
110 syn keyword sshdconfigKeyword AllowStreamLocalForwarding
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
111 syn keyword sshdconfigKeyword AllowTcpForwarding
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
112 syn keyword sshdconfigKeyword AllowUsers
7597
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
113 syn keyword sshdconfigKeyword AuthenticationMethods
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
114 syn keyword sshdconfigKeyword AuthorizedKeysFile
7384
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
115 syn keyword sshdconfigKeyword AuthorizedKeysCommand
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
116 syn keyword sshdconfigKeyword AuthorizedKeysCommandUser
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
117 syn keyword sshdconfigKeyword AuthorizedPrincipalsFile
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
118 syn keyword sshdconfigKeyword Banner
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
119 syn keyword sshdconfigKeyword ChallengeResponseAuthentication
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
120 syn keyword sshdconfigKeyword ChrootDirectory
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
121 syn keyword sshdconfigKeyword Ciphers
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
122 syn keyword sshdconfigKeyword ClientAliveCountMax
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
123 syn keyword sshdconfigKeyword ClientAliveInterval
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
124 syn keyword sshdconfigKeyword Compression
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
125 syn keyword sshdconfigKeyword DebianBanner
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
126 syn keyword sshdconfigKeyword DenyGroups
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
127 syn keyword sshdconfigKeyword DenyUsers
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
128 syn keyword sshdconfigKeyword ForceCommand
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
129 syn keyword sshdconfigKeyword GSSAPIAuthentication
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
130 syn keyword sshdconfigKeyword GSSAPICleanupCredentials
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
131 syn keyword sshdconfigKeyword GSSAPIKeyExchange
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
132 syn keyword sshdconfigKeyword GSSAPIStoreCredentialsOnRekey
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
133 syn keyword sshdconfigKeyword GSSAPIStrictAcceptorCheck
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
134 syn keyword sshdconfigKeyword GatewayPorts
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
135 syn keyword sshdconfigKeyword HostCertificate
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
136 syn keyword sshdconfigKeyword HostKey
7597
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
137 syn keyword sshdconfigKeyword HostKeyAgent
7384
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
138 syn keyword sshdconfigKeyword HostKeyAlgorithms
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
139 syn keyword sshdconfigKeyword HostbasedAcceptedKeyTypes
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
140 syn keyword sshdconfigKeyword HostbasedAuthentication
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
141 syn keyword sshdconfigKeyword HostbasedUsesNameFromPacketOnly
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
142 syn keyword sshdconfigKeyword IPQoS
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
143 syn keyword sshdconfigKeyword IgnoreRhosts
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
144 syn keyword sshdconfigKeyword IgnoreUserKnownHosts
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
145 syn keyword sshdconfigKeyword KbdInteractiveAuthentication
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
146 syn keyword sshdconfigKeyword KerberosAuthentication
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
147 syn keyword sshdconfigKeyword KerberosGetAFSToken
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
148 syn keyword sshdconfigKeyword KerberosOrLocalPasswd
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
149 syn keyword sshdconfigKeyword KerberosTicketCleanup
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
150 syn keyword sshdconfigKeyword KexAlgorithms
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
151 syn keyword sshdconfigKeyword KeyRegenerationInterval
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
152 syn keyword sshdconfigKeyword ListenAddress
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
153 syn keyword sshdconfigKeyword LogLevel
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
154 syn keyword sshdconfigKeyword LoginGraceTime
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
155 syn keyword sshdconfigKeyword MACs
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
156 syn keyword sshdconfigKeyword Match
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
157 syn keyword sshdconfigKeyword MaxAuthTries
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
158 syn keyword sshdconfigKeyword MaxSessions
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
159 syn keyword sshdconfigKeyword MaxStartups
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
160 syn keyword sshdconfigKeyword PasswordAuthentication
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
161 syn keyword sshdconfigKeyword PermitBlacklistedKeys
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
162 syn keyword sshdconfigKeyword PermitEmptyPasswords
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
163 syn keyword sshdconfigKeyword PermitOpen
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
164 syn keyword sshdconfigKeyword PermitRootLogin
7384
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
165 syn keyword sshdconfigKeyword PermitTTY
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
166 syn keyword sshdconfigKeyword PermitTunnel
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
167 syn keyword sshdconfigKeyword PermitUserEnvironment
7384
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
168 syn keyword sshdconfigKeyword PermitUserRC
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
169 syn keyword sshdconfigKeyword PidFile
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
170 syn keyword sshdconfigKeyword Port
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
171 syn keyword sshdconfigKeyword PrintLastLog
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
172 syn keyword sshdconfigKeyword PrintMotd
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
173 syn keyword sshdconfigKeyword Protocol
7384
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
174 syn keyword sshdconfigKeyword PubkeyAcceptedKeyTypes
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
175 syn keyword sshdconfigKeyword PubkeyAuthentication
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
176 syn keyword sshdconfigKeyword RSAAuthentication
7384
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
177 syn keyword sshdconfigKeyword RekeyLimit
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
178 syn keyword sshdconfigKeyword RevokedKeys
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
179 syn keyword sshdconfigKeyword RhostsRSAAuthentication
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
180 syn keyword sshdconfigKeyword ServerKeyBits
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
181 syn keyword sshdconfigKeyword ShowPatchLevel
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
182 syn keyword sshdconfigKeyword StrictModes
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
183 syn keyword sshdconfigKeyword Subsystem
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
184 syn keyword sshdconfigKeyword SyslogFacility
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
185 syn keyword sshdconfigKeyword TCPKeepAlive
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
186 syn keyword sshdconfigKeyword TrustedUserCAKeys
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
187 syn keyword sshdconfigKeyword UseDNS
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
188 syn keyword sshdconfigKeyword UseLogin
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
189 syn keyword sshdconfigKeyword UsePAM
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
190 syn keyword sshdconfigKeyword UsePrivilegeSeparation
7384
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
191 syn keyword sshdconfigKeyword VersionAddendum
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
192 syn keyword sshdconfigKeyword X11DisplayOffset
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
193 syn keyword sshdconfigKeyword X11Forwarding
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
194 syn keyword sshdconfigKeyword X11UseLocalhost
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
195 syn keyword sshdconfigKeyword XAuthLocation
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
196
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 " Define the default highlighting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 if version >= 508 || !exists("did_sshdconfig_syntax_inits")
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
200 if version < 508
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
201 let did_sshdconfig_syntax_inits = 1
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
202 command -nargs=+ HiLink hi link <args>
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
203 else
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
204 command -nargs=+ HiLink hi def link <args>
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
205 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206
7384
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
207 HiLink sshdconfigComment Comment
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
208 HiLink sshdconfigTodo Todo
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
209 HiLink sshdconfigHostPort sshdconfigConstant
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
210 HiLink sshdconfigTime sshdconfigConstant
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
211 HiLink sshdconfigNumber sshdconfigConstant
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
212 HiLink sshdconfigConstant Constant
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
213 HiLink sshdconfigYesNo sshdconfigEnum
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
214 HiLink sshdconfigAddressFamily sshdconfigEnum
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
215 HiLink sshdconfigPrivilegeSeparation sshdconfigEnum
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
216 HiLink sshdconfigTcpForwarding sshdconfigEnum
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
217 HiLink sshdconfigRootLogin sshdconfigEnum
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
218 HiLink sshdconfigCipher sshdconfigEnum
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
219 HiLink sshdconfigMAC sshdconfigEnum
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
220 HiLink sshdconfigRootLogin sshdconfigEnum
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
221 HiLink sshdconfigLogLevel sshdconfigEnum
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
222 HiLink sshdconfigSysLogFacility sshdconfigEnum
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
223 HiLink sshdconfigVar sshdconfigEnum
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
224 HiLink sshdconfigCompression sshdconfigEnum
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
225 HiLink sshdconfigIPQoS sshdconfigEnum
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
226 HiLink sshdconfigKexAlgo sshdconfigEnum
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
227 HiLink sshdconfigTunnel sshdconfigEnum
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
228 HiLink sshdconfigSubsystem sshdconfigEnum
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
229 HiLink sshdconfigEnum Function
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
230 HiLink sshdconfigSpecial Special
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
231 HiLink sshdconfigKeyword Keyword
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3224
diff changeset
232 HiLink sshdconfigMatch Type
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
233 delcommand HiLink
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 let b:current_syntax = "sshdconfig"
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
237
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
238 " vim:set ts=8 sw=2 sts=2: