annotate runtime/syntax/sshconfig.vim @ 7687:61354fabf8a2 v7.4.1142

commit https://github.com/vim/vim/commit/b8060fe862f684b591f9ac679eac5b2594d6c5a0 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 19 22:29:28 2016 +0100 patch 7.4.1142 Problem: Cannot define keyword characters for a syntax file. Solution: Add the ":syn iskeyword" command. (Christian Brabandt)
author Christian Brabandt <cb@256bit.org>
date Tue, 19 Jan 2016 22:30:07 +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 client configuration file (ssh_config)
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
3 " Author: David Necas (Yeti)
7384
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3410
diff changeset
4 " Maintainer: Dominik Fischer <d dot f dot fischer at web dot de>
7597
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
5 " Contributor: Leonard Ehrenfried <leonard.ehrenfried@web.de>
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
6 " Contributor: Karsten Hopp <karsten@redhat.com>
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
7 " Last Change: 2016 Jan 15
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
8 " SSH Version: 7.1
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
9 "
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 " Setup
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 if version >= 600
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
13 if exists("b:current_syntax")
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
14 finish
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
15 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 else
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
17 syntax clear
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 if version >= 600
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
21 setlocal iskeyword=_,-,a-z,A-Z,48-57
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 else
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
23 set iskeyword=_,-,a-z,A-Z,48-57
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
26
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
27 " case on
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
28 syn case match
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
29
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 " Comments
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
32 syn match sshconfigComment "^#.*$" contains=sshconfigTodo
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
33 syn match sshconfigComment "\s#.*$" contains=sshconfigTodo
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
34
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
35 syn keyword sshconfigTodo TODO FIXME NOTE contained
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
36
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 " Constants
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 syn keyword sshconfigYesNo yes no ask
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
40 syn keyword sshconfigYesNo any auto
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
41 syn keyword sshconfigYesNo force autoask none
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
42
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
43 syn keyword sshconfigCipher 3des blowfish
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
44 syn keyword sshconfigCiphers aes128-cbc 3des-cbc blowfish blowfish-cbc cast128-cbc
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
45 syn keyword sshconfigCiphers aes192-cbc aes256-cbc aes128-ctr aes192-ctr aes256-ctr
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
46 syn keyword sshconfigCiphers arcfour arcfour128 arcfour256 cast128-cbc
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
47
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 syn keyword sshconfigMAC hmac-md5 hmac-sha1 hmac-ripemd160 hmac-sha1-96
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 syn keyword sshconfigMAC hmac-md5-96
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
50 syn keyword sshconfigMAC hmac-sha2-256 hmac-sha2-256-96 hmac-sha2-512
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
51 syn keyword sshconfigMAC hmac-sha2-512-96
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
52 syn match sshconfigMAC "\<umac-64@openssh\.com\>"
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 sshconfigHostKeyAlg ssh-rsa ssh-dss
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
55 syn match sshconfigHostKeyAlg "\<ecdsa-sha2-nistp256-cert-v01@openssh\.com\>"
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
56 syn match sshconfigHostKeyAlg "\<ecdsa-sha2-nistp384-cert-v01@openssh\.com\>"
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
57 syn match sshconfigHostKeyAlg "\<ecdsa-sha2-nistp521-cert-v01@openssh\.com\>"
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
58 syn match sshconfigHostKeyAlg "\<ssh-rsa-cert-v01@openssh\.com\>"
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
59 syn match sshconfigHostKeyAlg "\<ssh-dss-cert-v01@openssh\.com\>"
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
60 syn match sshconfigHostKeyAlg "\<ssh-rsa-cert-v00@openssh\.com\>"
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
61 syn match sshconfigHostKeyAlg "\<ssh-dss-cert-v00@openssh\.com\>"
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
62 syn keyword sshconfigHostKeyAlg ecdsa-sha2-nistp256 ecdsa-sha2-nistp384 ecdsa-sha2-nistp521
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
63
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
64 syn keyword sshconfigPreferredAuth hostbased publickey password gssapi-with-mic
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 syn keyword sshconfigPreferredAuth keyboard-interactive
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
66
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 syn keyword sshconfigLogLevel QUIET FATAL ERROR INFO VERBOSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 syn keyword sshconfigLogLevel DEBUG DEBUG1 DEBUG2 DEBUG3
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
69 syn keyword sshconfigSysLogFacility DAEMON USER AUTH AUTHPRIV LOCAL0 LOCAL1
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
70 syn keyword sshconfigSysLogFacility LOCAL2 LOCAL3 LOCAL4 LOCAL5 LOCAL6 LOCAL7
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
71 syn keyword sshconfigAddressFamily inet inet6
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
72
7597
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
73 syn match sshconfigIPQoS "af1[123]"
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
74 syn match sshconfigIPQoS "af2[123]"
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
75 syn match sshconfigIPQoS "af3[123]"
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
76 syn match sshconfigIPQoS "af4[123]"
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
77 syn match sshconfigIPQoS "cs[0-7]"
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
78 syn keyword sshconfigIPQoS ef lowdelay throughput reliability
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
79 syn keyword sshconfigKbdInteractive bsdauth pam skey
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
80
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
81 syn keyword sshconfigKexAlgo ecdh-sha2-nistp256 ecdh-sha2-nistp384 ecdh-sha2-nistp521
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
82 syn keyword sshconfigKexAlgo diffie-hellman-group-exchange-sha256
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
83 syn keyword sshconfigKexAlgo diffie-hellman-group-exchange-sha1
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
84 syn keyword sshconfigKexAlgo diffie-hellman-group14-sha1
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
85 syn keyword sshconfigKexAlgo diffie-hellman-group1-sha1
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
86
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
87 syn keyword sshconfigTunnel point-to-point ethernet
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
88
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
89 syn match sshconfigVar "%[rhplLdun]\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 syn match sshconfigSpecial "[*?]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 syn match sshconfigNumber "\d\+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 syn match sshconfigHostPort "\<\(\d\{1,3}\.\)\{3}\d\{1,3}\(:\d\+\)\?\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 syn match sshconfigHostPort "\<\([-a-zA-Z0-9]\+\.\)\+[-a-zA-Z0-9]\{2,}\(:\d\+\)\?\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 syn match sshconfigHostPort "\<\(\x\{,4}:\)\+\x\{,4}[:/]\d\+\>"
3371
8dcf3ea92b63 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3224
diff changeset
95 syn match sshconfigHostPort "\(Host \)\@<=.\+"
8dcf3ea92b63 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3224
diff changeset
96 syn match sshconfigHostPort "\(HostName \)\@<=.\+"
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
97
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
98 " case off
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
99 syn case ignore
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
100
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
101
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 " Keywords
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 syn keyword sshconfigHostSect Host
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
104
7384
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3410
diff changeset
105 syn keyword sshconfigMatch canonical exec host originalhost user localuser all
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3410
diff changeset
106
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
107 syn keyword sshconfigKeyword AddressFamily
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
108 syn keyword sshconfigKeyword BatchMode
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
109 syn keyword sshconfigKeyword BindAddress
7597
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
110 syn keyword sshconfigKeyword CanonicalDomains
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
111 syn keyword sshconfigKeyword CanonicalizeFallbackLocal
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
112 syn keyword sshconfigKeyword CanonicalizeHostname
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
113 syn keyword sshconfigKeyword CanonicalizeMaxDots
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
114 syn keyword sshconfigKeyword ChallengeResponseAuthentication
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
115 syn keyword sshconfigKeyword CheckHostIP
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
116 syn keyword sshconfigKeyword Cipher
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
117 syn keyword sshconfigKeyword Ciphers
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
118 syn keyword sshconfigKeyword ClearAllForwardings
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
119 syn keyword sshconfigKeyword Compression
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
120 syn keyword sshconfigKeyword CompressionLevel
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
121 syn keyword sshconfigKeyword ConnectTimeout
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
122 syn keyword sshconfigKeyword ConnectionAttempts
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
123 syn keyword sshconfigKeyword ControlMaster
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
124 syn keyword sshconfigKeyword ControlPath
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
125 syn keyword sshconfigKeyword ControlPersist
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
126 syn keyword sshconfigKeyword DynamicForward
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
127 syn keyword sshconfigKeyword EnableSSHKeysign
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
128 syn keyword sshconfigKeyword EscapeChar
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
129 syn keyword sshconfigKeyword ExitOnForwardFailure
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
130 syn keyword sshconfigKeyword ForwardAgent
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
131 syn keyword sshconfigKeyword ForwardX11
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
132 syn keyword sshconfigKeyword ForwardX11Timeout
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
133 syn keyword sshconfigKeyword ForwardX11Trusted
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
134 syn keyword sshconfigKeyword GSSAPIAuthentication
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
135 syn keyword sshconfigKeyword GSSAPIClientIdentity
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
136 syn keyword sshconfigKeyword GSSAPIDelegateCredentials
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
137 syn keyword sshconfigKeyword GSSAPIKeyExchange
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
138 syn keyword sshconfigKeyword GSSAPIRenewalForcesRekey
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
139 syn keyword sshconfigKeyword GSSAPIServerIdentity
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
140 syn keyword sshconfigKeyword GSSAPITrustDNS
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
141 syn keyword sshconfigKeyword GSSAPITrustDns
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
142 syn keyword sshconfigKeyword GatewayPorts
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
143 syn keyword sshconfigKeyword GlobalKnownHostsFile
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
144 syn keyword sshconfigKeyword HashKnownHosts
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
145 syn keyword sshconfigKeyword HostKeyAlgorithms
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
146 syn keyword sshconfigKeyword HostKeyAlias
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
147 syn keyword sshconfigKeyword HostName
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
148 syn keyword sshconfigKeyword HostbasedAuthentication
7384
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3410
diff changeset
149 syn keyword sshconfigKeyword HostbasedKeyTypes
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
150 syn keyword sshconfigKeyword IPQoS
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
151 syn keyword sshconfigKeyword IdentitiesOnly
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
152 syn keyword sshconfigKeyword IdentityFile
7597
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
153 syn keyword sshconfigKeyword IgnoreUnknown
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
154 syn keyword sshconfigKeyword IPQoS
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
155 syn keyword sshconfigKeyword KbdInteractiveAuthentication
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
156 syn keyword sshconfigKeyword KbdInteractiveDevices
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
157 syn keyword sshconfigKeyword KexAlgorithms
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
158 syn keyword sshconfigKeyword LocalCommand
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
159 syn keyword sshconfigKeyword LocalForward
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
160 syn keyword sshconfigKeyword LogLevel
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
161 syn keyword sshconfigKeyword MACs
7384
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3410
diff changeset
162 syn keyword sshconfigKeyword Match
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
163 syn keyword sshconfigKeyword NoHostAuthenticationForLocalhost
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
164 syn keyword sshconfigKeyword NumberOfPasswordPrompts
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
165 syn keyword sshconfigKeyword PKCS11Provider
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
166 syn keyword sshconfigKeyword PasswordAuthentication
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
167 syn keyword sshconfigKeyword PermitLocalCommand
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
168 syn keyword sshconfigKeyword Port
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
169 syn keyword sshconfigKeyword PreferredAuthentications
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
170 syn keyword sshconfigKeyword Protocol
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
171 syn keyword sshconfigKeyword ProxyCommand
7384
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3410
diff changeset
172 syn keyword sshconfigKeyword ProxyUseFDPass
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3410
diff changeset
173 syn keyword sshconfigKeyword PubkeyAcceptedKeyTypes
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
174 syn keyword sshconfigKeyword PubkeyAuthentication
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
175 syn keyword sshconfigKeyword RSAAuthentication
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
176 syn keyword sshconfigKeyword RekeyLimit
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
177 syn keyword sshconfigKeyword RemoteForward
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
178 syn keyword sshconfigKeyword RequestTTY
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
179 syn keyword sshconfigKeyword RhostsRSAAuthentication
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
180 syn keyword sshconfigKeyword SendEnv
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
181 syn keyword sshconfigKeyword ServerAliveCountMax
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
182 syn keyword sshconfigKeyword ServerAliveInterval
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
183 syn keyword sshconfigKeyword SmartcardDevice
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
184 syn keyword sshconfigKeyword StrictHostKeyChecking
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
185 syn keyword sshconfigKeyword TCPKeepAlive
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
186 syn keyword sshconfigKeyword Tunnel
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
187 syn keyword sshconfigKeyword TunnelDevice
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
188 syn keyword sshconfigKeyword UseBlacklistedKeys
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
189 syn keyword sshconfigKeyword UsePrivilegedPort
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
190 syn keyword sshconfigKeyword User
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
191 syn keyword sshconfigKeyword UserKnownHostsFile
7597
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
192 syn keyword sshconfigKeyword UseRoaming
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
193 syn keyword sshconfigKeyword VerifyHostKeyDNS
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
194 syn keyword sshconfigKeyword VisualHostKey
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
195 syn keyword sshconfigKeyword XAuthLocation
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 " Define the default highlighting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 if version >= 508 || !exists("did_sshconfig_syntax_inits")
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
199 if version < 508
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
200 let did_sshconfig_syntax_inits = 1
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
201 command -nargs=+ HiLink hi link <args>
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
202 else
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
203 command -nargs=+ HiLink hi def link <args>
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
204 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
206 HiLink sshconfigComment Comment
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
207 HiLink sshconfigTodo Todo
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
208 HiLink sshconfigHostPort sshconfigConstant
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
209 HiLink sshconfigNumber sshconfigConstant
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
210 HiLink sshconfigConstant Constant
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
211 HiLink sshconfigYesNo sshconfigEnum
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
212 HiLink sshconfigCipher sshconfigEnum
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
213 HiLink sshconfigCiphers sshconfigEnum
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
214 HiLink sshconfigMAC sshconfigEnum
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
215 HiLink sshconfigHostKeyAlg sshconfigEnum
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
216 HiLink sshconfigLogLevel sshconfigEnum
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
217 HiLink sshconfigSysLogFacility sshconfigEnum
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
218 HiLink sshconfigAddressFamily sshconfigEnum
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
219 HiLink sshconfigIPQoS sshconfigEnum
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
220 HiLink sshconfigKbdInteractive sshconfigEnum
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
221 HiLink sshconfigKexAlgo sshconfigEnum
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
222 HiLink sshconfigTunnel sshconfigEnum
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
223 HiLink sshconfigPreferredAuth sshconfigEnum
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
224 HiLink sshconfigVar sshconfigEnum
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
225 HiLink sshconfigEnum Identifier
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
226 HiLink sshconfigSpecial Special
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
227 HiLink sshconfigKeyword Keyword
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
228 HiLink sshconfigHostSect Type
7384
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3410
diff changeset
229 HiLink sshconfigMatch Type
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
230 delcommand HiLink
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 let b:current_syntax = "sshconfig"
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
234
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
235 " vim:set ts=8 sw=2 sts=2: