annotate runtime/syntax/sshconfig.vim @ 34416:0a458b49e1e6 v9.1.0131

patch 9.1.0131: buffer-completion may not always find all matches Commit: https://github.com/vim/vim/commit/0dc0bff000fd804c6b0778ccc4554a4e4c82c8c9 Author: Christian Brabandt <cb@256bit.org> Date: Sat Feb 24 14:12:13 2024 +0100 patch 9.1.0131: buffer-completion may not always find all matches Problem: buffer-completion code too complicated and does not always find all matches (irisjae) Solution: do not try to anchor pattern to beginning of line or directory-separator, always return all matches Note: we are considering the non-fuzzy buffer-matching here. Currently, the buffer-completion code makes 2 attempts to match a pattern against the list of available patterns. First try is to match the pattern and anchor it to either the beginning of the file name or at a directory-separator (// or \\). When a match is found, Vim returns the matching buffers and does not try to find a match anywhere within a buffer name. So if you have opened two buffers like /tmp/Foobar.c and /tmp/MyFoobar.c using `:b Foo` will only complete to the first filename, but not the second (the same happens with `getcompletion('Foo', 'buffer')`). It may make sense, that completion priorities buffer names at directory boundaries, but it inconsistent, may cause confusion why a certain buffer name is not completed when typing `:b Foo<C-D>` which returns only a single file name and then pressing Enter (to switch to that buffer), Vim will error with 'E93: More than one match for Foo'). Similar things may happen when wiping the /tmp/Foobar.c pattern and afterwards the completion starts completing other buffers. So let's simplify the code and always match the pattern anywhere in the buffer name, do not try to favor matches at directory boundaries. This is also simplifies the code a bit, we do not need to run over the list of buffers several times, but only twice. fixes #13894 closes: #14082 Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sat, 24 Feb 2024 14:30:03 +0100
parents 20cf2080f1ee
children 300525584c40
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
2 " Language: OpenSSH client configuration file (ssh_config)
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
3 " Author: David Necas (Yeti)
24278
4ab4ef0c48b1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 19404
diff changeset
4 " Maintainer: Jakub Jelen <jakuje at gmail dot com>
4ab4ef0c48b1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 19404
diff changeset
5 " Previous 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
6 " 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
7 " 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
8 " Contributor: Dean, Adam Kenneth <adam.ken.dean@hpe.com>
31139
20cf2080f1ee Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 31028
diff changeset
9 " Last Change: 2022 Nov 10
18053
8ac85adee561 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10498
diff changeset
10 " Added RemoteCommand from pull request #4809
19404
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
11 " Included additional keywords from Martin.
31028
5acd6f02ea35 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24278
diff changeset
12 " Included PR #5753
24278
4ab4ef0c48b1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 19404
diff changeset
13 " SSH Version: 8.5p1
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
14 "
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 " Setup
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 9860
diff changeset
17 " 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
18 if exists("b:current_syntax")
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 9860
diff changeset
19 finish
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 9860
diff changeset
22 setlocal iskeyword=_,-,a-z,A-Z,48-57
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
24
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
25 " case on
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
26 syn case match
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
27
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 " Comments
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
30 syn match sshconfigComment "^#.*$" contains=sshconfigTodo
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
31 syn match sshconfigComment "\s#.*$" contains=sshconfigTodo
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
32
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
33 syn keyword sshconfigTodo TODO FIXME NOTE contained
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
34
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 " Constants
8869
b73f9ed65072 commit https://github.com/vim/vim/commit/939a1abe935a539f2d4c90a56cb0682cbaf3bbb0
Christian Brabandt <cb@256bit.org>
parents: 8392
diff changeset
37 syn keyword sshconfigYesNo yes no ask confirm
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
38 syn keyword sshconfigYesNo any auto
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
39 syn keyword sshconfigYesNo force autoask none
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
40
8392
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
41 syn keyword sshconfigCipher 3des blowfish
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
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 sshconfigCiphers 3des-cbc
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
44 syn keyword sshconfigCiphers blowfish-cbc
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
45 syn keyword sshconfigCiphers cast128-cbc
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
46 syn keyword sshconfigCiphers arcfour
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
47 syn keyword sshconfigCiphers arcfour128
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
48 syn keyword sshconfigCiphers arcfour256
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
49 syn keyword sshconfigCiphers aes128-cbc
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
50 syn keyword sshconfigCiphers aes192-cbc
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
51 syn keyword sshconfigCiphers aes256-cbc
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
52 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
53 syn keyword sshconfigCiphers aes128-ctr
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
54 syn keyword sshconfigCiphers aes192-ctr
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
55 syn keyword sshconfigCiphers aes256-ctr
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
56 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
57 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
58 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
59
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
60 syn keyword sshconfigMAC hmac-sha1
31028
5acd6f02ea35 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24278
diff changeset
61 syn keyword sshconfigMAC hmac-sha1-96
5acd6f02ea35 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24278
diff changeset
62 syn keyword sshconfigMAC hmac-sha2-256
5acd6f02ea35 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24278
diff changeset
63 syn keyword sshconfigMAC hmac-sha2-512
5acd6f02ea35 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24278
diff changeset
64 syn keyword sshconfigMAC hmac-md5
5acd6f02ea35 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24278
diff changeset
65 syn keyword sshconfigMAC hmac-md5-96
5acd6f02ea35 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24278
diff changeset
66 syn keyword sshconfigMAC hmac-ripemd160
8392
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
67 syn match sshconfigMAC "\<hmac-ripemd160@openssh\.com\>"
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
68 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
69 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
70 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
71 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
72 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
73 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
74 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
75 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
76 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
77 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
78 syn match sshconfigMAC "\<umac-128-etm@openssh\.com\>"
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
79
8392
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
80 syn keyword sshconfigHostKeyAlgo ssh-ed25519
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
81 syn match sshconfigHostKeyAlgo "\<ssh-ed25519-cert-v01@openssh\.com\>"
31028
5acd6f02ea35 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24278
diff changeset
82 syn match sshconfigHostKeyAlgo "\<sk-ssh-ed25519@openssh\.com\>"
5acd6f02ea35 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24278
diff changeset
83 syn match sshconfigHostKeyAlgo "\<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
84 syn keyword sshconfigHostKeyAlgo ssh-rsa
31028
5acd6f02ea35 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24278
diff changeset
85 syn keyword sshconfigHostKeyAlgo rsa-sha2-256
5acd6f02ea35 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24278
diff changeset
86 syn keyword sshconfigHostKeyAlgo rsa-sha2-512
8392
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
87 syn keyword sshconfigHostKeyAlgo ssh-dss
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
88 syn keyword sshconfigHostKeyAlgo ecdsa-sha2-nistp256
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
89 syn keyword sshconfigHostKeyAlgo ecdsa-sha2-nistp384
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
90 syn keyword sshconfigHostKeyAlgo ecdsa-sha2-nistp521
31028
5acd6f02ea35 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24278
diff changeset
91 syn match sshconfigHostKeyAlgo "\<sk-ecdsa-sha2-nistp256@openssh\.com\>"
8392
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
92 syn match sshconfigHostKeyAlgo "\<ssh-rsa-cert-v01@openssh\.com\>"
31028
5acd6f02ea35 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24278
diff changeset
93 syn match sshconfigHostKeyAlgo "\<rsa-sha2-256-cert-v01@openssh\.com\>"
5acd6f02ea35 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24278
diff changeset
94 syn match sshconfigHostKeyAlgo "\<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 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
96 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
97 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
98 syn match sshconfigHostKeyAlgo "\<ecdsa-sha2-nistp521-cert-v01@openssh\.com\>"
31028
5acd6f02ea35 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24278
diff changeset
99 syn match sshconfigHostKeyAlgo "\<sk-ecdsa-sha2-nistp256-cert-v01@openssh\.com\>"
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
100
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
101 syn keyword sshconfigPreferredAuth hostbased publickey password gssapi-with-mic
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 syn keyword sshconfigPreferredAuth keyboard-interactive
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
103
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 syn keyword sshconfigLogLevel QUIET FATAL ERROR INFO VERBOSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 syn keyword sshconfigLogLevel DEBUG DEBUG1 DEBUG2 DEBUG3
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
106 syn keyword sshconfigSysLogFacility DAEMON USER AUTH AUTHPRIV LOCAL0 LOCAL1
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
107 syn keyword sshconfigSysLogFacility LOCAL2 LOCAL3 LOCAL4 LOCAL5 LOCAL6 LOCAL7
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
108 syn keyword sshconfigAddressFamily inet inet6
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
109
7597
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
110 syn match sshconfigIPQoS "af1[123]"
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
111 syn match sshconfigIPQoS "af2[123]"
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
112 syn match sshconfigIPQoS "af3[123]"
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
113 syn match sshconfigIPQoS "af4[123]"
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
114 syn match sshconfigIPQoS "cs[0-7]"
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
115 syn keyword sshconfigIPQoS ef lowdelay throughput reliability
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
116 syn keyword sshconfigKbdInteractive bsdauth pam skey
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
117
8392
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
118 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
119 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
120 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
121 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
122 syn keyword sshconfigKexAlgo ecdh-sha2-nistp256
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
123 syn keyword sshconfigKexAlgo ecdh-sha2-nistp384
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
124 syn keyword sshconfigKexAlgo ecdh-sha2-nistp521
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
125 syn match sshconfigKexAlgo "\<curve25519-sha256@libssh\.org\>"
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
126
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
127 syn keyword sshconfigTunnel point-to-point ethernet
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
128
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
129 syn match sshconfigVar "%[rhplLdun]\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 syn match sshconfigSpecial "[*?]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 syn match sshconfigNumber "\d\+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 syn match sshconfigHostPort "\<\(\d\{1,3}\.\)\{3}\d\{1,3}\(:\d\+\)\?\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 syn match sshconfigHostPort "\<\([-a-zA-Z0-9]\+\.\)\+[-a-zA-Z0-9]\{2,}\(:\d\+\)\?\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 syn match sshconfigHostPort "\<\(\x\{,4}:\)\+\x\{,4}[:/]\d\+\>"
3371
8dcf3ea92b63 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3224
diff changeset
135 syn match sshconfigHostPort "\(Host \)\@<=.\+"
8dcf3ea92b63 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3224
diff changeset
136 syn match sshconfigHostPort "\(HostName \)\@<=.\+"
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
137
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
138 " case off
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
139 syn case ignore
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
140
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
141
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 " Keywords
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 syn keyword sshconfigHostSect Host
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
144
19404
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
145 syn keyword sshconfigMatch canonical final exec host originalhost user localuser all
7384
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3410
diff changeset
146
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
147 syn keyword sshconfigKeyword AddressFamily
8869
b73f9ed65072 commit https://github.com/vim/vim/commit/939a1abe935a539f2d4c90a56cb0682cbaf3bbb0
Christian Brabandt <cb@256bit.org>
parents: 8392
diff changeset
148 syn keyword sshconfigKeyword AddKeysToAgent
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
149 syn keyword sshconfigKeyword BatchMode
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
150 syn keyword sshconfigKeyword BindAddress
19404
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
151 syn keyword sshconfigKeyword BindInterface
7597
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
152 syn keyword sshconfigKeyword CanonicalDomains
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
153 syn keyword sshconfigKeyword CanonicalizeFallbackLocal
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
154 syn keyword sshconfigKeyword CanonicalizeHostname
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
155 syn keyword sshconfigKeyword CanonicalizeMaxDots
19404
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
156 syn keyword sshconfigKeyword CanonicalizePermittedCNAMEs
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
157 syn keyword sshconfigKeyword CASignatureAlgorithms
8392
1bf1b88968a2 commit https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69
Christian Brabandt <cb@256bit.org>
parents: 7597
diff changeset
158 syn keyword sshconfigKeyword CertificateFile
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
159 syn keyword sshconfigKeyword ChallengeResponseAuthentication
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
160 syn keyword sshconfigKeyword CheckHostIP
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
161 syn keyword sshconfigKeyword Ciphers
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
162 syn keyword sshconfigKeyword ClearAllForwardings
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
163 syn keyword sshconfigKeyword Compression
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
164 syn keyword sshconfigKeyword ConnectTimeout
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
165 syn keyword sshconfigKeyword ConnectionAttempts
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
166 syn keyword sshconfigKeyword ControlMaster
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
167 syn keyword sshconfigKeyword ControlPath
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
168 syn keyword sshconfigKeyword ControlPersist
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
169 syn keyword sshconfigKeyword DynamicForward
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
170 syn keyword sshconfigKeyword EnableSSHKeysign
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
171 syn keyword sshconfigKeyword EscapeChar
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
172 syn keyword sshconfigKeyword ExitOnForwardFailure
19404
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
173 syn keyword sshconfigKeyword FingerprintHash
31139
20cf2080f1ee Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 31028
diff changeset
174 syn keyword sshconfigKeyword ForkAfterAuthentication
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
175 syn keyword sshconfigKeyword ForwardAgent
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
176 syn keyword sshconfigKeyword ForwardX11
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
177 syn keyword sshconfigKeyword ForwardX11Timeout
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
178 syn keyword sshconfigKeyword ForwardX11Trusted
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
179 syn keyword sshconfigKeyword GSSAPIAuthentication
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
180 syn keyword sshconfigKeyword GSSAPIDelegateCredentials
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
181 syn keyword sshconfigKeyword GatewayPorts
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
182 syn keyword sshconfigKeyword GlobalKnownHostsFile
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
183 syn keyword sshconfigKeyword HashKnownHosts
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
184 syn keyword sshconfigKeyword HostKeyAlgorithms
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
185 syn keyword sshconfigKeyword HostKeyAlias
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
186 syn keyword sshconfigKeyword HostName
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
187 syn keyword sshconfigKeyword HostbasedAuthentication
24278
4ab4ef0c48b1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 19404
diff changeset
188 syn keyword sshconfigKeyword HostbasedAcceptedAlgorithms
7384
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3410
diff changeset
189 syn keyword sshconfigKeyword HostbasedKeyTypes
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
190 syn keyword sshconfigKeyword IPQoS
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
191 syn keyword sshconfigKeyword IdentitiesOnly
19404
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
192 syn keyword sshconfigKeyword IdentityAgent
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
193 syn keyword sshconfigKeyword IdentityFile
7597
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
194 syn keyword sshconfigKeyword IgnoreUnknown
10498
883396809b45 commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents: 10051
diff changeset
195 syn keyword sshconfigKeyword Include
7597
3012eaddb6b2 commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937
Christian Brabandt <cb@256bit.org>
parents: 7384
diff changeset
196 syn keyword sshconfigKeyword IPQoS
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
197 syn keyword sshconfigKeyword KbdInteractiveAuthentication
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
198 syn keyword sshconfigKeyword KbdInteractiveDevices
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
199 syn keyword sshconfigKeyword KexAlgorithms
24278
4ab4ef0c48b1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 19404
diff changeset
200 syn keyword sshconfigKeyword KnownHostsCommand
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
201 syn keyword sshconfigKeyword LocalCommand
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
202 syn keyword sshconfigKeyword LocalForward
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
203 syn keyword sshconfigKeyword LogLevel
24278
4ab4ef0c48b1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 19404
diff changeset
204 syn keyword sshconfigKeyword LogVerbose
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
205 syn keyword sshconfigKeyword MACs
7384
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3410
diff changeset
206 syn keyword sshconfigKeyword Match
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
207 syn keyword sshconfigKeyword NoHostAuthenticationForLocalhost
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
208 syn keyword sshconfigKeyword NumberOfPasswordPrompts
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
209 syn keyword sshconfigKeyword PKCS11Provider
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
210 syn keyword sshconfigKeyword PasswordAuthentication
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
211 syn keyword sshconfigKeyword PermitLocalCommand
24278
4ab4ef0c48b1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 19404
diff changeset
212 syn keyword sshconfigKeyword PermitRemoteOpen
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
213 syn keyword sshconfigKeyword Port
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
214 syn keyword sshconfigKeyword PreferredAuthentications
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
215 syn keyword sshconfigKeyword ProxyCommand
9860
9eaf8ef656e9 commit https://github.com/vim/vim/commit/0952131376a517fc12dc5ae908a97018b4ee23f0
Christian Brabandt <cb@256bit.org>
parents: 8869
diff changeset
216 syn keyword sshconfigKeyword ProxyJump
7384
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3410
diff changeset
217 syn keyword sshconfigKeyword ProxyUseFDPass
24278
4ab4ef0c48b1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 19404
diff changeset
218 syn keyword sshconfigKeyword PubkeyAcceptedAlgorithms
7384
aea5ebf352c4 commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Christian Brabandt <cb@256bit.org>
parents: 3410
diff changeset
219 syn keyword sshconfigKeyword PubkeyAcceptedKeyTypes
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
220 syn keyword sshconfigKeyword PubkeyAuthentication
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
221 syn keyword sshconfigKeyword RekeyLimit
18053
8ac85adee561 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10498
diff changeset
222 syn keyword sshconfigKeyword RemoteCommand
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
223 syn keyword sshconfigKeyword RemoteForward
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
224 syn keyword sshconfigKeyword RequestTTY
31139
20cf2080f1ee Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 31028
diff changeset
225 syn keyword sshconfigKeyword RequiredRSASize
19404
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
226 syn keyword sshconfigKeyword RevokedHostKeys
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
227 syn keyword sshconfigKeyword SecurityKeyProvider
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
228 syn keyword sshconfigKeyword SendEnv
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
229 syn keyword sshconfigKeyword ServerAliveCountMax
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
230 syn keyword sshconfigKeyword ServerAliveInterval
31139
20cf2080f1ee Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 31028
diff changeset
231 syn keyword sshconfigKeyword SessionType
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
232 syn keyword sshconfigKeyword SmartcardDevice
19404
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
233 syn keyword sshconfigKeyword SetEnv
31139
20cf2080f1ee Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 31028
diff changeset
234 syn keyword sshconfigKeyword StdinNull
19404
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
235 syn keyword sshconfigKeyword StreamLocalBindMask
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
236 syn keyword sshconfigKeyword StreamLocalBindUnlink
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
237 syn keyword sshconfigKeyword StrictHostKeyChecking
19404
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
238 syn keyword sshconfigKeyword SyslogFacility
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
239 syn keyword sshconfigKeyword TCPKeepAlive
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
240 syn keyword sshconfigKeyword Tunnel
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
241 syn keyword sshconfigKeyword TunnelDevice
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
242 syn keyword sshconfigKeyword UseBlacklistedKeys
19404
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
243 syn keyword sshconfigKeyword UpdateHostKeys
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
244 syn keyword sshconfigKeyword User
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
245 syn keyword sshconfigKeyword UserKnownHostsFile
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
246 syn keyword sshconfigKeyword VerifyHostKeyDNS
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
247 syn keyword sshconfigKeyword VisualHostKey
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 714
diff changeset
248 syn keyword sshconfigKeyword XAuthLocation
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249
19404
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
250 " Deprecated/ignored/remove/unsupported keywords
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
251
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
252 syn keyword sshConfigDeprecated Cipher
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
253 syn keyword sshconfigDeprecated GSSAPIClientIdentity
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
254 syn keyword sshconfigDeprecated GSSAPIKeyExchange
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
255 syn keyword sshconfigDeprecated GSSAPIRenewalForcesRekey
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
256 syn keyword sshconfigDeprecated GSSAPIServerIdentity
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
257 syn keyword sshconfigDeprecated GSSAPITrustDNS
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
258 syn keyword sshconfigDeprecated GSSAPITrustDns
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
259 syn keyword sshconfigDeprecated Protocol
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
260 syn keyword sshconfigDeprecated RSAAuthentication
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
261 syn keyword sshconfigDeprecated RhostsRSAAuthentication
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
262 syn keyword sshconfigDeprecated CompressionLevel
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
263 syn keyword sshconfigDeprecated UseRoaming
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
264 syn keyword sshconfigDeprecated UsePrivilegedPort
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
265
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266 " Define the default highlighting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
268 hi def link sshconfigComment Comment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
269 hi def link sshconfigTodo Todo
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
270 hi def link sshconfigHostPort sshconfigConstant
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
271 hi def link sshconfigNumber sshconfigConstant
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
272 hi def link sshconfigConstant Constant
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
273 hi def link sshconfigYesNo sshconfigEnum
19404
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
274 hi def link sshconfigCipher sshconfigDeprecated
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
275 hi def link sshconfigCiphers sshconfigEnum
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
276 hi def link sshconfigMAC sshconfigEnum
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
277 hi def link sshconfigHostKeyAlgo sshconfigEnum
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
278 hi def link sshconfigLogLevel sshconfigEnum
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
279 hi def link sshconfigSysLogFacility sshconfigEnum
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
280 hi def link sshconfigAddressFamily sshconfigEnum
19404
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
281 hi def link sshconfigIPQoS sshconfigEnum
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
282 hi def link sshconfigKbdInteractive sshconfigEnum
19404
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
283 hi def link sshconfigKexAlgo sshconfigEnum
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
284 hi def link sshconfigTunnel sshconfigEnum
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
285 hi def link sshconfigPreferredAuth sshconfigEnum
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
286 hi def link sshconfigVar sshconfigEnum
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
287 hi def link sshconfigEnum Identifier
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
288 hi def link sshconfigSpecial Special
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
289 hi def link sshconfigKeyword Keyword
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
290 hi def link sshconfigHostSect Type
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
291 hi def link sshconfigMatch Type
19404
7be3663e2f2b Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
292 hi def link sshconfigDeprecated Error
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 let b:current_syntax = "sshconfig"
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
295
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
296 " vim:set ts=8 sw=2 sts=2: