Updated runtime files. Remove version checks for Vim older than 6.0.
This commit is contained in:
@ -3,9 +3,8 @@
|
||||
" Maintainer: Zak Johnson <zakj@nox.cx>
|
||||
" Last Change: 2003-12-30
|
||||
|
||||
if version < 600
|
||||
syntax clear
|
||||
elseif exists("b:current_syntax")
|
||||
" quit when a syntax file was already loaded
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
@ -21,23 +20,16 @@ syn region ldifFileValue matchgroup=ldifPunctuation start=/:< / end=/\_$/ skip
|
||||
|
||||
syn region ldifComment start=/^#/ end=/\_$/ skip=/\n /
|
||||
|
||||
if version >= 508 || !exists("did_ldif_syn_inits")
|
||||
if version < 508
|
||||
let did_ldif_syn_inits = 1
|
||||
command -nargs=+ HiLink hi link <args>
|
||||
else
|
||||
command -nargs=+ HiLink hi def link <args>
|
||||
endif
|
||||
command -nargs=+ HiLink hi def link <args>
|
||||
|
||||
HiLink ldifAttribute Type
|
||||
HiLink ldifOption Identifier
|
||||
HiLink ldifPunctuation Normal
|
||||
HiLink ldifStringValue String
|
||||
HiLink ldifBase64Value Special
|
||||
HiLink ldifFileValue Special
|
||||
HiLink ldifComment Comment
|
||||
HiLink ldifAttribute Type
|
||||
HiLink ldifOption Identifier
|
||||
HiLink ldifPunctuation Normal
|
||||
HiLink ldifStringValue String
|
||||
HiLink ldifBase64Value Special
|
||||
HiLink ldifFileValue Special
|
||||
HiLink ldifComment Comment
|
||||
|
||||
delcommand HiLink
|
||||
endif
|
||||
delcommand HiLink
|
||||
|
||||
let b:current_syntax = "ldif"
|
||||
|
||||
Reference in New Issue
Block a user