Mercurial > vim
annotate runtime/syntax/sshconfig.vim @ 12708:77960063e2e7 v8.0.1232
patch 8.0.1232: MS-Windows users are confused about default mappings
commit https://github.com/vim/vim/commit/c3fdf7f80b2febdd8a8f7a1310631567d257d66a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 28 18:36:48 2017 +0200
patch 8.0.1232: MS-Windows users are confused about default mappings
Problem: MS-Windows users are confused about default mappings.
Solution: Don't map keys in the console where they don't work. Add a choice
in the installer to use MS-Windows key bindings or not. (Christian
Brabandt, Ken Takata, closes #2093)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 28 Oct 2017 18:45:04 +0200 |
parents | 883396809b45 |
children | 8ac85adee561 |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
3224 | 2 " Language: OpenSSH client configuration file (ssh_config) |
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> |
9860
9eaf8ef656e9
commit https://github.com/vim/vim/commit/0952131376a517fc12dc5ae908a97018b4ee23f0
Christian Brabandt <cb@256bit.org>
parents:
8869
diff
changeset
|
7 " Contributor: Dean, Adam Kenneth <adam.ken.dean@hpe.com> |
10498
883396809b45
commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents:
10051
diff
changeset
|
8 " Last Change: 2016 Dec 28 |
883396809b45
commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents:
10051
diff
changeset
|
9 " SSH Version: 7.4p1 |
3224 | 10 " |
7 | 11 |
12 " Setup | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
9860
diff
changeset
|
13 " quit when a syntax file was already loaded |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
9860
diff
changeset
|
14 if exists("b:current_syntax") |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
9860
diff
changeset
|
15 finish |
7 | 16 endif |
17 | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
9860
diff
changeset
|
18 setlocal iskeyword=_,-,a-z,A-Z,48-57 |
7 | 19 |
3224 | 20 |
21 " case on | |
22 syn case match | |
23 | |
7 | 24 |
25 " Comments | |
3224 | 26 syn match sshconfigComment "^#.*$" contains=sshconfigTodo |
27 syn match sshconfigComment "\s#.*$" contains=sshconfigTodo | |
28 | |
29 syn keyword sshconfigTodo TODO FIXME NOTE contained | |
30 | |
7 | 31 |
32 " Constants | |
8869
b73f9ed65072
commit https://github.com/vim/vim/commit/939a1abe935a539f2d4c90a56cb0682cbaf3bbb0
Christian Brabandt <cb@256bit.org>
parents:
8392
diff
changeset
|
33 syn keyword sshconfigYesNo yes no ask confirm |
2034 | 34 syn keyword sshconfigYesNo any auto |
3224 | 35 syn keyword sshconfigYesNo force autoask none |
36 | |
8392
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
37 syn keyword sshconfigCipher 3des blowfish |
3224 | 38 |
8392
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
39 syn keyword sshconfigCiphers 3des-cbc |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
40 syn keyword sshconfigCiphers blowfish-cbc |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
41 syn keyword sshconfigCiphers cast128-cbc |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
42 syn keyword sshconfigCiphers arcfour |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
43 syn keyword sshconfigCiphers arcfour128 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
44 syn keyword sshconfigCiphers arcfour256 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
45 syn keyword sshconfigCiphers aes128-cbc |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
46 syn keyword sshconfigCiphers aes192-cbc |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
47 syn keyword sshconfigCiphers aes256-cbc |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
48 syn match sshconfigCiphers "\<rijndael-cbc@lysator\.liu.se\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
49 syn keyword sshconfigCiphers aes128-ctr |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
50 syn keyword sshconfigCiphers aes192-ctr |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
51 syn keyword sshconfigCiphers aes256-ctr |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
52 syn match sshconfigCiphers "\<aes128-gcm@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
53 syn match sshconfigCiphers "\<aes256-gcm@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
54 syn match sshconfigCiphers "\<chacha20-poly1305@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
55 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
56 syn keyword sshconfigMAC hmac-sha1 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
57 syn keyword sshconfigMAC mac-sha1-96 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
58 syn keyword sshconfigMAC mac-sha2-256 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
59 syn keyword sshconfigMAC mac-sha2-512 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
60 syn keyword sshconfigMAC mac-md5 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
61 syn keyword sshconfigMAC mac-md5-96 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
62 syn keyword sshconfigMAC mac-ripemd160 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
63 syn match sshconfigMAC "\<hmac-ripemd160@openssh\.com\>" |
3224 | 64 syn match sshconfigMAC "\<umac-64@openssh\.com\>" |
8392
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
65 syn match sshconfigMAC "\<umac-128@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
66 syn match sshconfigMAC "\<hmac-sha1-etm@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
67 syn match sshconfigMAC "\<hmac-sha1-96-etm@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
68 syn match sshconfigMAC "\<hmac-sha2-256-etm@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
69 syn match sshconfigMAC "\<hmac-sha2-512-etm@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
70 syn match sshconfigMAC "\<hmac-md5-etm@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
71 syn match sshconfigMAC "\<hmac-md5-96-etm@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
72 syn match sshconfigMAC "\<hmac-ripemd160-etm@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
73 syn match sshconfigMAC "\<umac-64-etm@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
74 syn match sshconfigMAC "\<umac-128-etm@openssh\.com\>" |
3224 | 75 |
8392
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
76 syn keyword sshconfigHostKeyAlgo ssh-ed25519 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
77 syn match sshconfigHostKeyAlgo "\<ssh-ed25519-cert-v01@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
78 syn keyword sshconfigHostKeyAlgo ssh-rsa |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
79 syn keyword sshconfigHostKeyAlgo ssh-dss |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
80 syn keyword sshconfigHostKeyAlgo ecdsa-sha2-nistp256 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
81 syn keyword sshconfigHostKeyAlgo ecdsa-sha2-nistp384 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
82 syn keyword sshconfigHostKeyAlgo ecdsa-sha2-nistp521 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
83 syn match sshconfigHostKeyAlgo "\<ssh-rsa-cert-v01@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
84 syn match sshconfigHostKeyAlgo "\<ssh-dss-cert-v01@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
85 syn match sshconfigHostKeyAlgo "\<ecdsa-sha2-nistp256-cert-v01@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
86 syn match sshconfigHostKeyAlgo "\<ecdsa-sha2-nistp384-cert-v01@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
87 syn match sshconfigHostKeyAlgo "\<ecdsa-sha2-nistp521-cert-v01@openssh\.com\>" |
3224 | 88 |
89 syn keyword sshconfigPreferredAuth hostbased publickey password gssapi-with-mic | |
7 | 90 syn keyword sshconfigPreferredAuth keyboard-interactive |
3224 | 91 |
7 | 92 syn keyword sshconfigLogLevel QUIET FATAL ERROR INFO VERBOSE |
93 syn keyword sshconfigLogLevel DEBUG DEBUG1 DEBUG2 DEBUG3 | |
2034 | 94 syn keyword sshconfigSysLogFacility DAEMON USER AUTH AUTHPRIV LOCAL0 LOCAL1 |
95 syn keyword sshconfigSysLogFacility LOCAL2 LOCAL3 LOCAL4 LOCAL5 LOCAL6 LOCAL7 | |
3224 | 96 syn keyword sshconfigAddressFamily inet inet6 |
97 | |
7597
3012eaddb6b2
commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents:
7384
diff
changeset
|
98 syn match sshconfigIPQoS "af1[123]" |
3012eaddb6b2
commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents:
7384
diff
changeset
|
99 syn match sshconfigIPQoS "af2[123]" |
3224 | 100 syn match sshconfigIPQoS "af3[123]" |
101 syn match sshconfigIPQoS "af4[123]" | |
102 syn match sshconfigIPQoS "cs[0-7]" | |
103 syn keyword sshconfigIPQoS ef lowdelay throughput reliability | |
104 syn keyword sshconfigKbdInteractive bsdauth pam skey | |
105 | |
8392
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
106 syn keyword sshconfigKexAlgo diffie-hellman-group1-sha1 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
107 syn keyword sshconfigKexAlgo diffie-hellman-group14-sha1 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
108 syn keyword sshconfigKexAlgo diffie-hellman-group-exchange-sha1 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
109 syn keyword sshconfigKexAlgo diffie-hellman-group-exchange-sha256 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
110 syn keyword sshconfigKexAlgo ecdh-sha2-nistp256 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
111 syn keyword sshconfigKexAlgo ecdh-sha2-nistp384 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
112 syn keyword sshconfigKexAlgo ecdh-sha2-nistp521 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
113 syn match sshconfigKexAlgo "\<curve25519-sha256@libssh\.org\>" |
3224 | 114 |
115 syn keyword sshconfigTunnel point-to-point ethernet | |
116 | |
117 syn match sshconfigVar "%[rhplLdun]\>" | |
7 | 118 syn match sshconfigSpecial "[*?]" |
119 syn match sshconfigNumber "\d\+" | |
120 syn match sshconfigHostPort "\<\(\d\{1,3}\.\)\{3}\d\{1,3}\(:\d\+\)\?\>" | |
121 syn match sshconfigHostPort "\<\([-a-zA-Z0-9]\+\.\)\+[-a-zA-Z0-9]\{2,}\(:\d\+\)\?\>" | |
122 syn match sshconfigHostPort "\<\(\x\{,4}:\)\+\x\{,4}[:/]\d\+\>" | |
3371 | 123 syn match sshconfigHostPort "\(Host \)\@<=.\+" |
124 syn match sshconfigHostPort "\(HostName \)\@<=.\+" | |
3224 | 125 |
126 " case off | |
127 syn case ignore | |
128 | |
129 | |
7 | 130 " Keywords |
131 syn keyword sshconfigHostSect Host | |
3224 | 132 |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
3410
diff
changeset
|
133 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
|
134 |
2034 | 135 syn keyword sshconfigKeyword AddressFamily |
8869
b73f9ed65072
commit https://github.com/vim/vim/commit/939a1abe935a539f2d4c90a56cb0682cbaf3bbb0
Christian Brabandt <cb@256bit.org>
parents:
8392
diff
changeset
|
136 syn keyword sshconfigKeyword AddKeysToAgent |
3224 | 137 syn keyword sshconfigKeyword BatchMode |
138 syn keyword sshconfigKeyword BindAddress | |
7597
3012eaddb6b2
commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents:
7384
diff
changeset
|
139 syn keyword sshconfigKeyword CanonicalDomains |
3012eaddb6b2
commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents:
7384
diff
changeset
|
140 syn keyword sshconfigKeyword CanonicalizeFallbackLocal |
3012eaddb6b2
commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents:
7384
diff
changeset
|
141 syn keyword sshconfigKeyword CanonicalizeHostname |
3012eaddb6b2
commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents:
7384
diff
changeset
|
142 syn keyword sshconfigKeyword CanonicalizeMaxDots |
8392
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
143 syn keyword sshconfigKeyword CertificateFile |
3224 | 144 syn keyword sshconfigKeyword ChallengeResponseAuthentication |
145 syn keyword sshconfigKeyword CheckHostIP | |
146 syn keyword sshconfigKeyword Cipher | |
147 syn keyword sshconfigKeyword Ciphers | |
148 syn keyword sshconfigKeyword ClearAllForwardings | |
149 syn keyword sshconfigKeyword Compression | |
150 syn keyword sshconfigKeyword CompressionLevel | |
151 syn keyword sshconfigKeyword ConnectTimeout | |
152 syn keyword sshconfigKeyword ConnectionAttempts | |
153 syn keyword sshconfigKeyword ControlMaster | |
154 syn keyword sshconfigKeyword ControlPath | |
155 syn keyword sshconfigKeyword ControlPersist | |
156 syn keyword sshconfigKeyword DynamicForward | |
157 syn keyword sshconfigKeyword EnableSSHKeysign | |
158 syn keyword sshconfigKeyword EscapeChar | |
159 syn keyword sshconfigKeyword ExitOnForwardFailure | |
160 syn keyword sshconfigKeyword ForwardAgent | |
161 syn keyword sshconfigKeyword ForwardX11 | |
162 syn keyword sshconfigKeyword ForwardX11Timeout | |
2034 | 163 syn keyword sshconfigKeyword ForwardX11Trusted |
164 syn keyword sshconfigKeyword GSSAPIAuthentication | |
3224 | 165 syn keyword sshconfigKeyword GSSAPIClientIdentity |
166 syn keyword sshconfigKeyword GSSAPIDelegateCredentials | |
167 syn keyword sshconfigKeyword GSSAPIKeyExchange | |
168 syn keyword sshconfigKeyword GSSAPIRenewalForcesRekey | |
169 syn keyword sshconfigKeyword GSSAPIServerIdentity | |
170 syn keyword sshconfigKeyword GSSAPITrustDNS | |
171 syn keyword sshconfigKeyword GSSAPITrustDns | |
172 syn keyword sshconfigKeyword GatewayPorts | |
2034 | 173 syn keyword sshconfigKeyword GlobalKnownHostsFile |
3224 | 174 syn keyword sshconfigKeyword HashKnownHosts |
175 syn keyword sshconfigKeyword HostKeyAlgorithms | |
176 syn keyword sshconfigKeyword HostKeyAlias | |
177 syn keyword sshconfigKeyword HostName | |
178 syn keyword sshconfigKeyword HostbasedAuthentication | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
3410
diff
changeset
|
179 syn keyword sshconfigKeyword HostbasedKeyTypes |
3224 | 180 syn keyword sshconfigKeyword IPQoS |
181 syn keyword sshconfigKeyword IdentitiesOnly | |
182 syn keyword sshconfigKeyword IdentityFile | |
7597
3012eaddb6b2
commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents:
7384
diff
changeset
|
183 syn keyword sshconfigKeyword IgnoreUnknown |
10498
883396809b45
commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents:
10051
diff
changeset
|
184 syn keyword sshconfigKeyword Include |
7597
3012eaddb6b2
commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents:
7384
diff
changeset
|
185 syn keyword sshconfigKeyword IPQoS |
3224 | 186 syn keyword sshconfigKeyword KbdInteractiveAuthentication |
187 syn keyword sshconfigKeyword KbdInteractiveDevices | |
188 syn keyword sshconfigKeyword KexAlgorithms | |
189 syn keyword sshconfigKeyword LocalCommand | |
190 syn keyword sshconfigKeyword LocalForward | |
191 syn keyword sshconfigKeyword LogLevel | |
2034 | 192 syn keyword sshconfigKeyword MACs |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
3410
diff
changeset
|
193 syn keyword sshconfigKeyword Match |
2034 | 194 syn keyword sshconfigKeyword NoHostAuthenticationForLocalhost |
195 syn keyword sshconfigKeyword NumberOfPasswordPrompts | |
3224 | 196 syn keyword sshconfigKeyword PKCS11Provider |
197 syn keyword sshconfigKeyword PasswordAuthentication | |
2034 | 198 syn keyword sshconfigKeyword PermitLocalCommand |
3224 | 199 syn keyword sshconfigKeyword Port |
200 syn keyword sshconfigKeyword PreferredAuthentications | |
201 syn keyword sshconfigKeyword Protocol | |
202 syn keyword sshconfigKeyword ProxyCommand | |
9860
9eaf8ef656e9
commit https://github.com/vim/vim/commit/0952131376a517fc12dc5ae908a97018b4ee23f0
Christian Brabandt <cb@256bit.org>
parents:
8869
diff
changeset
|
203 syn keyword sshconfigKeyword ProxyJump |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
3410
diff
changeset
|
204 syn keyword sshconfigKeyword ProxyUseFDPass |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
3410
diff
changeset
|
205 syn keyword sshconfigKeyword PubkeyAcceptedKeyTypes |
3224 | 206 syn keyword sshconfigKeyword PubkeyAuthentication |
207 syn keyword sshconfigKeyword RSAAuthentication | |
208 syn keyword sshconfigKeyword RekeyLimit | |
209 syn keyword sshconfigKeyword RemoteForward | |
210 syn keyword sshconfigKeyword RequestTTY | |
2034 | 211 syn keyword sshconfigKeyword RhostsRSAAuthentication |
3224 | 212 syn keyword sshconfigKeyword SendEnv |
213 syn keyword sshconfigKeyword ServerAliveCountMax | |
214 syn keyword sshconfigKeyword ServerAliveInterval | |
215 syn keyword sshconfigKeyword SmartcardDevice | |
216 syn keyword sshconfigKeyword StrictHostKeyChecking | |
217 syn keyword sshconfigKeyword TCPKeepAlive | |
218 syn keyword sshconfigKeyword Tunnel | |
219 syn keyword sshconfigKeyword TunnelDevice | |
220 syn keyword sshconfigKeyword UseBlacklistedKeys | |
221 syn keyword sshconfigKeyword UsePrivilegedPort | |
222 syn keyword sshconfigKeyword User | |
2034 | 223 syn keyword sshconfigKeyword UserKnownHostsFile |
7597
3012eaddb6b2
commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents:
7384
diff
changeset
|
224 syn keyword sshconfigKeyword UseRoaming |
3224 | 225 syn keyword sshconfigKeyword VerifyHostKeyDNS |
226 syn keyword sshconfigKeyword VisualHostKey | |
2034 | 227 syn keyword sshconfigKeyword XAuthLocation |
7 | 228 |
229 " Define the default highlighting | |
230 | |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
231 hi def link sshconfigComment Comment |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
232 hi def link sshconfigTodo Todo |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
233 hi def link sshconfigHostPort sshconfigConstant |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
234 hi def link sshconfigNumber sshconfigConstant |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
235 hi def link sshconfigConstant Constant |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
236 hi def link sshconfigYesNo sshconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
237 hi def link sshconfigCipher sshconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
238 hi def link sshconfigCiphers sshconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
239 hi def link sshconfigMAC sshconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
240 hi def link sshconfigHostKeyAlgo sshconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
241 hi def link sshconfigLogLevel sshconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
242 hi def link sshconfigSysLogFacility sshconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
243 hi def link sshconfigAddressFamily sshconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
244 hi def link sshconfigIPQoS sshconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
245 hi def link sshconfigKbdInteractive sshconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
246 hi def link sshconfigKexAlgo sshconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
247 hi def link sshconfigTunnel sshconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
248 hi def link sshconfigPreferredAuth sshconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
249 hi def link sshconfigVar sshconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
250 hi def link sshconfigEnum Identifier |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
251 hi def link sshconfigSpecial Special |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
252 hi def link sshconfigKeyword Keyword |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
253 hi def link sshconfigHostSect Type |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
254 hi def link sshconfigMatch Type |
7 | 255 |
256 let b:current_syntax = "sshconfig" | |
3224 | 257 |
258 " vim:set ts=8 sw=2 sts=2: |