vim: update release.sh to vim 7.3
[msysgit/mtrensch.git] / share / vim / vim72 / syntax / sshdconfig.vim
blob2217e096f7effe45b1fc1c20fca473ea12e27115
1 " Vim syntax file
2 " This is a GENERATED FILE. Please always refer to source file at the URI below.
3 " Language: OpenSSH server configuration file (sshd_config)
4 " Maintainer: David Ne\v{c}as (Yeti) <yeti@physics.muni.cz>
5 " Last Change: 2006-03-05
6 " URL: http://trific.ath.cx/Ftp/vim/syntax/sshdconfig.vim
8 " Setup
9 if version >= 600
10         if exists("b:current_syntax")
11                 finish
12         endif
13 else
14         syntax clear
15 endif
17 if version >= 600
18         setlocal iskeyword=_,-,a-z,A-Z,48-57
19 else
20         set iskeyword=_,-,a-z,A-Z,48-57
21 endif
23 syn case ignore
25 " Comments
26 syn match sshdconfigComment "#.*$" contains=sshdconfigTodo
27 syn keyword sshdconfigTodo TODO FIXME NOT contained
29 " Constants
30 syn keyword sshdconfigYesNo yes no
31 syn keyword sshdconfigCipher aes128-cbc 3des-cbc blowfish-cbc cast128-cbc
32 syn keyword sshdconfigCipher aes192-cbc aes256-cbc aes128-ctr aes256-ctr
33 syn keyword sshdconfigCipher arcfour arcfour128 arcfour256 cast128-cbc
34 syn keyword sshdconfigMAC hmac-md5 hmac-sha1 hmac-ripemd160 hmac-sha1-96
35 syn keyword sshdconfigMAC hmac-md5-96
36 syn keyword sshdconfigRootLogin without-password forced-commands-only
37 syn keyword sshdconfigLogLevel QUIET FATAL ERROR INFO VERBOSE
38 syn keyword sshdconfigLogLevel DEBUG DEBUG1 DEBUG2 DEBUG3
39 syn keyword sshdconfigSysLogFacility DAEMON USER AUTH LOCAL0 LOCAL1 LOCAL2
40 syn keyword sshdconfigSysLogFacility LOCAL3 LOCAL4 LOCAL5 LOCAL6 LOCAL7
41 syn match sshdconfigSpecial "[*?]"
42 syn match sshdconfigNumber "\d\+"
43 syn match sshdconfigHostPort "\<\(\d\{1,3}\.\)\{3}\d\{1,3}\(:\d\+\)\?\>"
44 syn match sshdconfigHostPort "\<\([-a-zA-Z0-9]\+\.\)\+[-a-zA-Z0-9]\{2,}\(:\d\+\)\?\>"
45 syn match sshdconfigHostPort "\<\(\x\{,4}:\)\+\x\{,4}:\d\+\>"
46 syn match sshdconfigTime "\<\(\d\+[sSmMhHdDwW]\)\+\>"
48 " Keywords
49 syn keyword sshdconfigKeyword AcceptEnv AddressFamily
50 syn keyword sshdconfigKeyword AllowGroups AllowTcpForwarding
51 syn keyword sshdconfigKeyword AllowUsers AuthorizedKeysFile Banner
52 syn keyword sshdconfigKeyword ChallengeResponseAuthentication
53 syn keyword sshdconfigKeyword Ciphers ClientAliveCountMax
54 syn keyword sshdconfigKeyword ClientAliveInterval Compression
55 syn keyword sshdconfigKeyword DenyGroups DenyUsers GSSAPIAuthentication
56 syn keyword sshdconfigKeyword GSSAPICleanupCredentials GatewayPorts
57 syn keyword sshdconfigKeyword HostKey HostbasedAuthentication
58 syn keyword sshdconfigKeyword IgnoreRhosts IgnoreUserKnownHosts
59 syn keyword sshdconfigKeyword KerberosAuthentication KerberosOrLocalPasswd
60 syn keyword sshdconfigKeyword KerberosTgtPassing KerberosTicketCleanup
61 syn keyword sshdconfigKeyword KerberosGetAFSToken
62 syn keyword sshdconfigKeyword KeyRegenerationInterval ListenAddress
63 syn keyword sshdconfigKeyword LogLevel LoginGraceTime MACs MaxAuthTries
64 syn keyword sshdconfigKeyword MaxStartups PasswordAuthentication
65 syn keyword sshdconfigKeyword PermitEmptyPasswords PermitRootLogin
66 syn keyword sshdconfigKeyword PermitUserEnvironment PidFile Port
67 syn keyword sshdconfigKeyword PrintLastLog PrintMotd Protocol
68 syn keyword sshdconfigKeyword PubkeyAuthentication RSAAuthentication
69 syn keyword sshdconfigKeyword RhostsAuthentication RhostsRSAAuthentication
70 syn keyword sshdconfigKeyword ServerKeyBits StrictModes Subsystem
71 syn keyword sshdconfigKeyword ShowPatchLevel
72 syn keyword sshdconfigKeyword SyslogFacility TCPKeepAlive UseDNS
73 syn keyword sshdconfigKeyword UseLogin UsePAM UsePrivilegeSeparation
74 syn keyword sshdconfigKeyword X11DisplayOffset X11Forwarding
75 syn keyword sshdconfigKeyword X11UseLocalhost XAuthLocation
77 " Define the default highlighting
78 if version >= 508 || !exists("did_sshdconfig_syntax_inits")
79         if version < 508
80                 let did_sshdconfig_syntax_inits = 1
81                 command -nargs=+ HiLink hi link <args>
82         else
83                 command -nargs=+ HiLink hi def link <args>
84         endif
86         HiLink sshdconfigComment Comment
87         HiLink sshdconfigTodo Todo
88         HiLink sshdconfigHostPort sshdconfigConstant
89         HiLink sshdconfigTime sshdconfigConstant
90         HiLink sshdconfigNumber sshdconfigConstant
91         HiLink sshdconfigConstant Constant
92         HiLink sshdconfigYesNo sshdconfigEnum
93         HiLink sshdconfigCipher sshdconfigEnum
94         HiLink sshdconfigMAC sshdconfigEnum
95         HiLink sshdconfigRootLogin sshdconfigEnum
96         HiLink sshdconfigLogLevel sshdconfigEnum
97         HiLink sshdconfigSysLogFacility sshdconfigEnum
98         HiLink sshdconfigEnum Function
99         HiLink sshdconfigSpecial Special
100         HiLink sshdconfigKeyword Keyword
101         delcommand HiLink
102 endif
104 let b:current_syntax = "sshdconfig"