Mercurial > vim
annotate runtime/syntax/sshdconfig.vim @ 17296:49ef396af986 v8.1.1647
patch 8.1.1647: build error with GTK and hangulinput feature
commit https://github.com/vim/vim/commit/d84b2c3d88b08722dd4f686256a22c26788ea122
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 7 19:16:58 2019 +0200
patch 8.1.1647: build error with GTK and hangulinput feature
Problem: Build error with GTK and hangulinput feature, im_get_status()
defined twice. (Dominique Pelle)
Solution: Adjust im_get_status(). (closes #4628)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 07 Jul 2019 19:30:05 +0200 |
parents | e5dab34ded73 |
children | 29c5f168c6fd |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
3224 | 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 | 8 " Originally: 2009-07-09 |
16871 | 9 " Last Change: 2019-05-31 |
10 " SSH Version: 7.9p1 | |
3224 | 11 " |
7 | 12 |
13 " Setup | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
8392
diff
changeset
|
14 " quit when a syntax file was already loaded |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
8392
diff
changeset
|
15 if exists("b:current_syntax") |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
8392
diff
changeset
|
16 finish |
7 | 17 endif |
18 | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
8392
diff
changeset
|
19 setlocal iskeyword=_,-,a-z,A-Z,48-57 |
7 | 20 |
3224 | 21 |
22 " case on | |
23 syn case match | |
24 | |
7 | 25 |
26 " Comments | |
3224 | 27 syn match sshdconfigComment "^#.*$" contains=sshdconfigTodo |
28 syn match sshdconfigComment "\s#.*$" contains=sshdconfigTodo | |
29 | |
30 syn keyword sshdconfigTodo TODO FIXME NOTE contained | |
7 | 31 |
32 " Constants | |
2034 | 33 syn keyword sshdconfigYesNo yes no none |
3224 | 34 |
2034 | 35 syn keyword sshdconfigAddressFamily any inet inet6 |
3224 | 36 |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
3224
diff
changeset
|
37 syn keyword sshdconfigPrivilegeSeparation sandbox |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
3224
diff
changeset
|
38 |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
3224
diff
changeset
|
39 syn keyword sshdconfigTcpForwarding local remote |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
3224
diff
changeset
|
40 |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
3224
diff
changeset
|
41 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
|
42 |
8392
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
43 syn keyword sshdconfigCiphers 3des-cbc |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
44 syn keyword sshdconfigCiphers blowfish-cbc |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
45 syn keyword sshdconfigCiphers cast128-cbc |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
46 syn keyword sshdconfigCiphers arcfour |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
47 syn keyword sshdconfigCiphers arcfour128 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
48 syn keyword sshdconfigCiphers arcfour256 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
49 syn keyword sshdconfigCiphers aes128-cbc |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
50 syn keyword sshdconfigCiphers aes192-cbc |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
51 syn keyword sshdconfigCiphers aes256-cbc |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
52 syn match sshdconfigCiphers "\<rijndael-cbc@lysator\.liu.se\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
53 syn keyword sshdconfigCiphers aes128-ctr |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
54 syn keyword sshdconfigCiphers aes192-ctr |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
55 syn keyword sshdconfigCiphers aes256-ctr |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
56 syn match sshdconfigCiphers "\<aes128-gcm@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
57 syn match sshdconfigCiphers "\<aes256-gcm@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
58 syn match sshdconfigCiphers "\<chacha20-poly1305@openssh\.com\>" |
3224 | 59 |
8392
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
60 syn keyword sshdconfigMAC hmac-sha1 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
61 syn keyword sshdconfigMAC mac-sha1-96 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
62 syn keyword sshdconfigMAC mac-sha2-256 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
63 syn keyword sshdconfigMAC mac-sha2-512 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
64 syn keyword sshdconfigMAC mac-md5 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
65 syn keyword sshdconfigMAC mac-md5-96 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
66 syn keyword sshdconfigMAC mac-ripemd160 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
67 syn match sshdconfigMAC "\<hmac-ripemd160@openssh\.com\>" |
3224 | 68 syn match sshdconfigMAC "\<umac-64@openssh\.com\>" |
8392
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
69 syn match sshdconfigMAC "\<umac-128@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
70 syn match sshdconfigMAC "\<hmac-sha1-etm@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
71 syn match sshdconfigMAC "\<hmac-sha1-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 sshdconfigMAC "\<hmac-sha2-256-etm@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
73 syn match sshdconfigMAC "\<hmac-sha2-512-etm@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
74 syn match sshdconfigMAC "\<hmac-md5-etm@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
75 syn match sshdconfigMAC "\<hmac-md5-96-etm@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
76 syn match sshdconfigMAC "\<hmac-ripemd160-etm@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
77 syn match sshdconfigMAC "\<umac-64-etm@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
78 syn match sshdconfigMAC "\<umac-128-etm@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
79 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
80 syn keyword sshdconfigHostKeyAlgo ssh-ed25519 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
81 syn match sshdconfigHostKeyAlgo "\<ssh-ed25519-cert-v01@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
82 syn keyword sshdconfigHostKeyAlgo ssh-rsa |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
83 syn keyword sshdconfigHostKeyAlgo ssh-dss |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
84 syn keyword sshdconfigHostKeyAlgo ecdsa-sha2-nistp256 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
85 syn keyword sshdconfigHostKeyAlgo ecdsa-sha2-nistp384 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
86 syn keyword sshdconfigHostKeyAlgo ecdsa-sha2-nistp521 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
87 syn match sshdconfigHostKeyAlgo "\<ssh-rsa-cert-v01@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
88 syn match sshdconfigHostKeyAlgo "\<ssh-dss-cert-v01@openssh\.com\>" |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
89 syn match sshdconfigHostKeyAlgo "\<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
|
90 syn match sshdconfigHostKeyAlgo "\<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
|
91 syn match sshdconfigHostKeyAlgo "\<ecdsa-sha2-nistp521-cert-v01@openssh\.com\>" |
3224 | 92 |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
3224
diff
changeset
|
93 syn keyword sshdconfigRootLogin prohibit-password without-password forced-commands-only |
3224 | 94 |
7 | 95 syn keyword sshdconfigLogLevel QUIET FATAL ERROR INFO VERBOSE |
96 syn keyword sshdconfigLogLevel DEBUG DEBUG1 DEBUG2 DEBUG3 | |
2034 | 97 syn keyword sshdconfigSysLogFacility DAEMON USER AUTH AUTHPRIV LOCAL0 LOCAL1 |
98 syn keyword sshdconfigSysLogFacility LOCAL2 LOCAL3 LOCAL4 LOCAL5 LOCAL6 LOCAL7 | |
3224 | 99 |
100 syn keyword sshdconfigCompression delayed | |
101 | |
7597
3012eaddb6b2
commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents:
7384
diff
changeset
|
102 syn match sshdconfigIPQoS "af1[123]" |
3012eaddb6b2
commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents:
7384
diff
changeset
|
103 syn match sshdconfigIPQoS "af2[123]" |
3224 | 104 syn match sshdconfigIPQoS "af3[123]" |
105 syn match sshdconfigIPQoS "af4[123]" | |
106 syn match sshdconfigIPQoS "cs[0-7]" | |
107 syn keyword sshdconfigIPQoS ef lowdelay throughput reliability | |
108 | |
8392
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
109 syn keyword sshdconfigKexAlgo diffie-hellman-group1-sha1 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
110 syn keyword sshdconfigKexAlgo diffie-hellman-group14-sha1 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
111 syn keyword sshdconfigKexAlgo diffie-hellman-group-exchange-sha1 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
112 syn keyword sshdconfigKexAlgo diffie-hellman-group-exchange-sha256 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
113 syn keyword sshdconfigKexAlgo ecdh-sha2-nistp256 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
114 syn keyword sshdconfigKexAlgo ecdh-sha2-nistp384 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
115 syn keyword sshdconfigKexAlgo ecdh-sha2-nistp521 |
1bf1b88968a2
commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents:
7597
diff
changeset
|
116 syn match sshdconfigKexAlgo "\<curve25519-sha256@libssh\.org\>" |
3224 | 117 |
118 syn keyword sshdconfigTunnel point-to-point ethernet | |
119 | |
120 syn keyword sshdconfigSubsystem internal-sftp | |
121 | |
122 syn match sshdconfigVar "%[hu]\>" | |
123 syn match sshdconfigVar "%%" | |
124 | |
7 | 125 syn match sshdconfigSpecial "[*?]" |
3224 | 126 |
7 | 127 syn match sshdconfigNumber "\d\+" |
128 syn match sshdconfigHostPort "\<\(\d\{1,3}\.\)\{3}\d\{1,3}\(:\d\+\)\?\>" | |
129 syn match sshdconfigHostPort "\<\([-a-zA-Z0-9]\+\.\)\+[-a-zA-Z0-9]\{2,}\(:\d\+\)\?\>" | |
2034 | 130 " FIXME: this matches quite a few things which are NOT valid IPv6 addresses |
7 | 131 syn match sshdconfigHostPort "\<\(\x\{,4}:\)\+\x\{,4}:\d\+\>" |
132 syn match sshdconfigTime "\<\(\d\+[sSmMhHdDwW]\)\+\>" | |
133 | |
3224 | 134 |
135 " case off | |
136 syn case ignore | |
137 | |
138 | |
7 | 139 " Keywords |
16871 | 140 " Also includes RDomain, but that is a keyword. |
141 syn keyword sshdconfigMatch Host User Group Address LocalAddress LocalPort | |
3224 | 142 |
143 syn keyword sshdconfigKeyword AcceptEnv | |
144 syn keyword sshdconfigKeyword AddressFamily | |
145 syn keyword sshdconfigKeyword AllowAgentForwarding | |
146 syn keyword sshdconfigKeyword AllowGroups | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
3224
diff
changeset
|
147 syn keyword sshdconfigKeyword AllowStreamLocalForwarding |
3224 | 148 syn keyword sshdconfigKeyword AllowTcpForwarding |
149 syn keyword sshdconfigKeyword AllowUsers | |
7597
3012eaddb6b2
commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents:
7384
diff
changeset
|
150 syn keyword sshdconfigKeyword AuthenticationMethods |
3224 | 151 syn keyword sshdconfigKeyword AuthorizedKeysFile |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
3224
diff
changeset
|
152 syn keyword sshdconfigKeyword AuthorizedKeysCommand |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
3224
diff
changeset
|
153 syn keyword sshdconfigKeyword AuthorizedKeysCommandUser |
16871 | 154 syn keyword sshdconfigKeyword AuthorizedPrincipalsCommand |
155 syn keyword sshdconfigKeyword AuthorizedPrincipalsCommandUser | |
3224 | 156 syn keyword sshdconfigKeyword AuthorizedPrincipalsFile |
2034 | 157 syn keyword sshdconfigKeyword Banner |
16871 | 158 syn keyword sshdconfigKeyword CASignatureAlgorithms |
3224 | 159 syn keyword sshdconfigKeyword ChallengeResponseAuthentication |
160 syn keyword sshdconfigKeyword ChrootDirectory | |
161 syn keyword sshdconfigKeyword Ciphers | |
162 syn keyword sshdconfigKeyword ClientAliveCountMax | |
163 syn keyword sshdconfigKeyword ClientAliveInterval | |
164 syn keyword sshdconfigKeyword Compression | |
165 syn keyword sshdconfigKeyword DebianBanner | |
166 syn keyword sshdconfigKeyword DenyGroups | |
167 syn keyword sshdconfigKeyword DenyUsers | |
10498
883396809b45
commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents:
10051
diff
changeset
|
168 syn keyword sshdconfigKeyword DisableForwarding |
16871 | 169 syn keyword sshdconfigKeyword ExposeAuthInfo |
170 syn keyword sshdconfigKeyword FingerprintHash | |
2034 | 171 syn keyword sshdconfigKeyword ForceCommand |
16871 | 172 syn keyword sshdconfigKeyword GatewayPorts |
3224 | 173 syn keyword sshdconfigKeyword GSSAPIAuthentication |
2034 | 174 syn keyword sshdconfigKeyword GSSAPICleanupCredentials |
16871 | 175 syn keyword sshdconfigKeyword GSSAPIEnablek5users |
3224 | 176 syn keyword sshdconfigKeyword GSSAPIKeyExchange |
16871 | 177 syn keyword sshdconfigKeyword GSSAPIKexAlgorithms |
3224 | 178 syn keyword sshdconfigKeyword GSSAPIStoreCredentialsOnRekey |
179 syn keyword sshdconfigKeyword GSSAPIStrictAcceptorCheck | |
180 syn keyword sshdconfigKeyword HostCertificate | |
181 syn keyword sshdconfigKeyword HostKey | |
7597
3012eaddb6b2
commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents:
7384
diff
changeset
|
182 syn keyword sshdconfigKeyword HostKeyAgent |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
3224
diff
changeset
|
183 syn keyword sshdconfigKeyword HostKeyAlgorithms |
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
3224
diff
changeset
|
184 syn keyword sshdconfigKeyword HostbasedAcceptedKeyTypes |
3224 | 185 syn keyword sshdconfigKeyword HostbasedAuthentication |
186 syn keyword sshdconfigKeyword HostbasedUsesNameFromPacketOnly | |
187 syn keyword sshdconfigKeyword IPQoS | |
188 syn keyword sshdconfigKeyword IgnoreRhosts | |
189 syn keyword sshdconfigKeyword IgnoreUserKnownHosts | |
190 syn keyword sshdconfigKeyword KbdInteractiveAuthentication | |
191 syn keyword sshdconfigKeyword KerberosAuthentication | |
192 syn keyword sshdconfigKeyword KerberosGetAFSToken | |
193 syn keyword sshdconfigKeyword KerberosOrLocalPasswd | |
194 syn keyword sshdconfigKeyword KerberosTicketCleanup | |
16871 | 195 syn keyword sshdconfigKeyword KerberosUniqueCCache |
196 syn keyword sshdconfigKeyword KerberosUseKuserok | |
3224 | 197 syn keyword sshdconfigKeyword KexAlgorithms |
2034 | 198 syn keyword sshdconfigKeyword KeyRegenerationInterval |
3224 | 199 syn keyword sshdconfigKeyword ListenAddress |
200 syn keyword sshdconfigKeyword LogLevel | |
201 syn keyword sshdconfigKeyword LoginGraceTime | |
202 syn keyword sshdconfigKeyword MACs | |
203 syn keyword sshdconfigKeyword Match | |
204 syn keyword sshdconfigKeyword MaxAuthTries | |
205 syn keyword sshdconfigKeyword MaxSessions | |
206 syn keyword sshdconfigKeyword MaxStartups | |
207 syn keyword sshdconfigKeyword PasswordAuthentication | |
208 syn keyword sshdconfigKeyword PermitBlacklistedKeys | |
209 syn keyword sshdconfigKeyword PermitEmptyPasswords | |
16871 | 210 syn keyword sshdconfigKeyword PermitListen |
3224 | 211 syn keyword sshdconfigKeyword PermitOpen |
212 syn keyword sshdconfigKeyword PermitRootLogin | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
3224
diff
changeset
|
213 syn keyword sshdconfigKeyword PermitTTY |
3224 | 214 syn keyword sshdconfigKeyword PermitTunnel |
215 syn keyword sshdconfigKeyword PermitUserEnvironment | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
3224
diff
changeset
|
216 syn keyword sshdconfigKeyword PermitUserRC |
3224 | 217 syn keyword sshdconfigKeyword PidFile |
218 syn keyword sshdconfigKeyword Port | |
219 syn keyword sshdconfigKeyword PrintLastLog | |
220 syn keyword sshdconfigKeyword PrintMotd | |
221 syn keyword sshdconfigKeyword Protocol | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
3224
diff
changeset
|
222 syn keyword sshdconfigKeyword PubkeyAcceptedKeyTypes |
2034 | 223 syn keyword sshdconfigKeyword PubkeyAuthentication |
3224 | 224 syn keyword sshdconfigKeyword RSAAuthentication |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
3224
diff
changeset
|
225 syn keyword sshdconfigKeyword RekeyLimit |
3224 | 226 syn keyword sshdconfigKeyword RevokedKeys |
16871 | 227 syn keyword sshdconfigKeyword RDomain |
3224 | 228 syn keyword sshdconfigKeyword RhostsRSAAuthentication |
229 syn keyword sshdconfigKeyword ServerKeyBits | |
16871 | 230 syn keyword sshdconfigKeyword SetEnv |
3224 | 231 syn keyword sshdconfigKeyword ShowPatchLevel |
232 syn keyword sshdconfigKeyword StrictModes | |
16871 | 233 syn keyword sshdconfigKeyword StreamLocalBindMask |
234 syn keyword sshdconfigKeyword StreamLocalBindUnlink | |
3224 | 235 syn keyword sshdconfigKeyword Subsystem |
236 syn keyword sshdconfigKeyword SyslogFacility | |
2034 | 237 syn keyword sshdconfigKeyword TCPKeepAlive |
3224 | 238 syn keyword sshdconfigKeyword TrustedUserCAKeys |
239 syn keyword sshdconfigKeyword UseDNS | |
240 syn keyword sshdconfigKeyword UseLogin | |
241 syn keyword sshdconfigKeyword UsePAM | |
7384
aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents:
3224
diff
changeset
|
242 syn keyword sshdconfigKeyword VersionAddendum |
3224 | 243 syn keyword sshdconfigKeyword X11DisplayOffset |
244 syn keyword sshdconfigKeyword X11Forwarding | |
16871 | 245 syn keyword sshdconfigKeyword X11MaxDisplays |
3224 | 246 syn keyword sshdconfigKeyword X11UseLocalhost |
247 syn keyword sshdconfigKeyword XAuthLocation | |
248 | |
7 | 249 |
250 " Define the default highlighting | |
251 | |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
252 hi def link sshdconfigComment Comment |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
253 hi def link sshdconfigTodo Todo |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
254 hi def link sshdconfigHostPort sshdconfigConstant |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
255 hi def link sshdconfigTime sshdconfigConstant |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
256 hi def link sshdconfigNumber sshdconfigConstant |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
257 hi def link sshdconfigConstant Constant |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
258 hi def link sshdconfigYesNo sshdconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
259 hi def link sshdconfigAddressFamily sshdconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
260 hi def link sshdconfigPrivilegeSeparation sshdconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
261 hi def link sshdconfigTcpForwarding sshdconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
262 hi def link sshdconfigRootLogin sshdconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
263 hi def link sshdconfigCiphers sshdconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
264 hi def link sshdconfigMAC sshdconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
265 hi def link sshdconfigHostKeyAlgo sshdconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
266 hi def link sshdconfigRootLogin sshdconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
267 hi def link sshdconfigLogLevel sshdconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
268 hi def link sshdconfigSysLogFacility sshdconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
269 hi def link sshdconfigVar sshdconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
270 hi def link sshdconfigCompression sshdconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
271 hi def link sshdconfigIPQoS sshdconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
272 hi def link sshdconfigKexAlgo sshdconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
273 hi def link sshdconfigTunnel sshdconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
274 hi def link sshdconfigSubsystem sshdconfigEnum |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
275 hi def link sshdconfigEnum Function |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
276 hi def link sshdconfigSpecial Special |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
277 hi def link sshdconfigKeyword Keyword |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
278 hi def link sshdconfigMatch Type |
7 | 279 |
280 let b:current_syntax = "sshdconfig" | |
3224 | 281 |
282 " vim:set ts=8 sw=2 sts=2: |