diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-08-30 23:26:57 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-08-30 23:26:57 +0200 |
commit | 89bcfda6834aba724d12554a34b9ed49f5789fd5 (patch) | |
tree | 2ffddcadaae9d061e38e17a09b2635ec199eb1dd /runtime/syntax/sshdconfig.vim | |
parent | 4792255eff03760dca0fd014616532e6d47db364 (diff) | |
download | vim-git-89bcfda6834aba724d12554a34b9ed49f5789fd5.tar.gz |
Updated runtime files. Remove version checks for Vim older than 6.0.
Diffstat (limited to 'runtime/syntax/sshdconfig.vim')
-rw-r--r-- | runtime/syntax/sshdconfig.vim | 82 |
1 files changed, 34 insertions, 48 deletions
diff --git a/runtime/syntax/sshdconfig.vim b/runtime/syntax/sshdconfig.vim index 6b7b98d89..28b8acaf6 100644 --- a/runtime/syntax/sshdconfig.vim +++ b/runtime/syntax/sshdconfig.vim @@ -11,19 +11,12 @@ " " Setup -if version >= 600 - if exists("b:current_syntax") - finish - endif -else - syntax clear +" quit when a syntax file was already loaded +if exists("b:current_syntax") + finish endif -if version >= 600 - setlocal iskeyword=_,-,a-z,A-Z,48-57 -else - set iskeyword=_,-,a-z,A-Z,48-57 -endif +setlocal iskeyword=_,-,a-z,A-Z,48-57 " case on @@ -239,43 +232,36 @@ syn keyword sshdconfigKeyword XAuthLocation " Define the default highlighting -if version >= 508 || !exists("did_sshdconfig_syntax_inits") - if version < 508 - let did_sshdconfig_syntax_inits = 1 - command -nargs=+ HiLink hi link <args> - else - command -nargs=+ HiLink hi def link <args> - endif - - HiLink sshdconfigComment Comment - HiLink sshdconfigTodo Todo - HiLink sshdconfigHostPort sshdconfigConstant - HiLink sshdconfigTime sshdconfigConstant - HiLink sshdconfigNumber sshdconfigConstant - HiLink sshdconfigConstant Constant - HiLink sshdconfigYesNo sshdconfigEnum - HiLink sshdconfigAddressFamily sshdconfigEnum - HiLink sshdconfigPrivilegeSeparation sshdconfigEnum - HiLink sshdconfigTcpForwarding sshdconfigEnum - HiLink sshdconfigRootLogin sshdconfigEnum - HiLink sshdconfigCiphers sshdconfigEnum - HiLink sshdconfigMAC sshdconfigEnum - HiLink sshdconfigHostKeyAlgo sshdconfigEnum - HiLink sshdconfigRootLogin sshdconfigEnum - HiLink sshdconfigLogLevel sshdconfigEnum - HiLink sshdconfigSysLogFacility sshdconfigEnum - HiLink sshdconfigVar sshdconfigEnum - HiLink sshdconfigCompression sshdconfigEnum - HiLink sshdconfigIPQoS sshdconfigEnum - HiLink sshdconfigKexAlgo sshdconfigEnum - HiLink sshdconfigTunnel sshdconfigEnum - HiLink sshdconfigSubsystem sshdconfigEnum - HiLink sshdconfigEnum Function - HiLink sshdconfigSpecial Special - HiLink sshdconfigKeyword Keyword - HiLink sshdconfigMatch Type - delcommand HiLink -endif +command -nargs=+ HiLink hi def link <args> + +HiLink sshdconfigComment Comment +HiLink sshdconfigTodo Todo +HiLink sshdconfigHostPort sshdconfigConstant +HiLink sshdconfigTime sshdconfigConstant +HiLink sshdconfigNumber sshdconfigConstant +HiLink sshdconfigConstant Constant +HiLink sshdconfigYesNo sshdconfigEnum +HiLink sshdconfigAddressFamily sshdconfigEnum +HiLink sshdconfigPrivilegeSeparation sshdconfigEnum +HiLink sshdconfigTcpForwarding sshdconfigEnum +HiLink sshdconfigRootLogin sshdconfigEnum +HiLink sshdconfigCiphers sshdconfigEnum +HiLink sshdconfigMAC sshdconfigEnum +HiLink sshdconfigHostKeyAlgo sshdconfigEnum +HiLink sshdconfigRootLogin sshdconfigEnum +HiLink sshdconfigLogLevel sshdconfigEnum +HiLink sshdconfigSysLogFacility sshdconfigEnum +HiLink sshdconfigVar sshdconfigEnum +HiLink sshdconfigCompression sshdconfigEnum +HiLink sshdconfigIPQoS sshdconfigEnum +HiLink sshdconfigKexAlgo sshdconfigEnum +HiLink sshdconfigTunnel sshdconfigEnum +HiLink sshdconfigSubsystem sshdconfigEnum +HiLink sshdconfigEnum Function +HiLink sshdconfigSpecial Special +HiLink sshdconfigKeyword Keyword +HiLink sshdconfigMatch Type +delcommand HiLink let b:current_syntax = "sshdconfig" |