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