annotate runtime/syntax/sshconfig.vim @ 1517:066778e39c2a v7.1.232

updated for version 7.1-232
author vimboss
date Fri, 18 Jan 2008 10:40:55 +0000
parents 0f9f4761ad9c
children 7bc41231fbc7
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " This is a GENERATED FILE. Please always refer to source file at the URI below.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Language: OpenSSH server configuration file (ssh_config)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Maintainer: David Ne\v{c}as (Yeti) <yeti@physics.muni.cz>
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 7
diff changeset
5 " Last Change: 2006-03-05
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " URL: http://trific.ath.cx/Ftp/vim/syntax/sshconfig.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " Setup
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 if version >= 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 if exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 syntax clear
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 if version >= 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 setlocal iskeyword=_,-,a-z,A-Z,48-57
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 set iskeyword=_,-,a-z,A-Z,48-57
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 " Comments
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn match sshconfigComment "#.*$" contains=sshconfigTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn keyword sshconfigTodo TODO FIXME NOT contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 " Constants
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn keyword sshconfigYesNo yes no ask
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syn keyword sshconfigCipher blowfish des 3des
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 syn keyword sshconfigCipher aes128-cbc 3des-cbc blowfish-cbc cast128-cbc
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 7
diff changeset
33 syn keyword sshconfigCipher aes192-cbc aes256-cbc aes128-ctr aes256-ctr
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 7
diff changeset
34 syn keyword sshconfigCipher arcfour arcfour128 arcfour256 cast128-cbc
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 syn keyword sshconfigMAC hmac-md5 hmac-sha1 hmac-ripemd160 hmac-sha1-96
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 syn keyword sshconfigMAC hmac-md5-96
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syn keyword sshconfigHostKeyAlg ssh-rsa ssh-dss
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 syn keyword sshconfigPreferredAuth hostbased publickey password
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 syn keyword sshconfigPreferredAuth keyboard-interactive
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 syn keyword sshconfigLogLevel QUIET FATAL ERROR INFO VERBOSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 syn keyword sshconfigLogLevel DEBUG DEBUG1 DEBUG2 DEBUG3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 syn keyword sshconfigSysLogFacility DAEMON USER AUTH LOCAL0 LOCAL1 LOCAL2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 syn keyword sshconfigSysLogFacility LOCAL3 LOCAL4 LOCAL5 LOCAL6 LOCAL7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 syn match sshconfigSpecial "[*?]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 syn match sshconfigNumber "\d\+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syn match sshconfigHostPort "\<\(\d\{1,3}\.\)\{3}\d\{1,3}\(:\d\+\)\?\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 syn match sshconfigHostPort "\<\([-a-zA-Z0-9]\+\.\)\+[-a-zA-Z0-9]\{2,}\(:\d\+\)\?\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 syn match sshconfigHostPort "\<\(\x\{,4}:\)\+\x\{,4}[:/]\d\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 " Keywords
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 syn keyword sshconfigHostSect Host
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 7
diff changeset
52 syn keyword sshconfigKeyword AddressFamily BatchMode BindAddress
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 syn keyword sshconfigKeyword ChallengeResponseAuthentication CheckHostIP
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 7
diff changeset
54 syn keyword sshconfigKeyword Cipher Ciphers ClearAllForwardings
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 7
diff changeset
55 syn keyword sshconfigKeyword Compression CompressionLevel ConnectTimeout
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 7
diff changeset
56 syn keyword sshconfigKeyword ConnectionAttempts ControlMaster
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 7
diff changeset
57 syn keyword sshconfigKeyword ControlPath DynamicForward EnableSSHKeysign
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 7
diff changeset
58 syn keyword sshconfigKeyword EscapeChar ForwardAgent ForwardX11
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 7
diff changeset
59 syn keyword sshconfigKeyword ForwardX11Trusted GSSAPIAuthentication
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 7
diff changeset
60 syn keyword sshconfigKeyword GSSAPIDelegateCredentials GatewayPorts
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 7
diff changeset
61 syn keyword sshconfigKeyword GlobalKnownHostsFile HostKeyAlgorithms
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 7
diff changeset
62 syn keyword sshconfigKeyword HashKnownHosts KbdInteractiveDevices
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 7
diff changeset
63 syn keyword sshconfigKeyword HostKeyAlias HostName HostbasedAuthentication
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 7
diff changeset
64 syn keyword sshconfigKeyword IdentitiesOnly IdentityFile LocalForward
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 7
diff changeset
65 syn keyword sshconfigKeyword LogLevel MACs NoHostAuthenticationForLocalhost
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 syn keyword sshconfigKeyword NumberOfPasswordPrompts PasswordAuthentication
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 syn keyword sshconfigKeyword Port PreferredAuthentications Protocol
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 7
diff changeset
68 syn keyword sshconfigKeyword ProxyCommand PubkeyAuthentication
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 7
diff changeset
69 syn keyword sshconfigKeyword RSAAuthentication RemoteForward
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 syn keyword sshconfigKeyword RhostsAuthentication RhostsRSAAuthentication
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 7
diff changeset
71 syn keyword sshconfigKeyword SendEnv ServerAliveCountMax ServerAliveInterval
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 7
diff changeset
72 syn keyword sshconfigKeyword SmartcardDevice StrictHostKeyChecking
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 7
diff changeset
73 syn keyword sshconfigKeyword TCPKeepAlive UsePrivilegedPort User
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 7
diff changeset
74 syn keyword sshconfigKeyword UserKnownHostsFile VerifyHostKeyDNS XAuthLocation
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 " Define the default highlighting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 if version >= 508 || !exists("did_sshconfig_syntax_inits")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 if version < 508
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 let did_sshconfig_syntax_inits = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 command -nargs=+ HiLink hi link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 command -nargs=+ HiLink hi def link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 HiLink sshconfigComment Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 HiLink sshconfigTodo Todo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 HiLink sshconfigHostPort sshconfigConstant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 HiLink sshconfigNumber sshconfigConstant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 HiLink sshconfigConstant Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 HiLink sshconfigYesNo sshconfigEnum
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 HiLink sshconfigCipher sshconfigEnum
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 HiLink sshconfigMAC sshconfigEnum
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 HiLink sshconfigHostKeyAlg sshconfigEnum
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 HiLink sshconfigLogLevel sshconfigEnum
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 HiLink sshconfigSysLogFacility sshconfigEnum
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 HiLink sshconfigPreferredAuth sshconfigEnum
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 HiLink sshconfigEnum Function
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 HiLink sshconfigSpecial Special
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 HiLink sshconfigKeyword Keyword
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 HiLink sshconfigHostSect Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 delcommand HiLink
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 let b:current_syntax = "sshconfig"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105