codekingpro/portable-devtools
114k
1" Vim syntax file2" Language: LDAP LDIF3" Maintainer: Zak Johnson <zakj@nox.cx>4" Last Change: 2003-12-305 6" quit when a syntax file was already loaded7if exists("b:current_syntax")8 finish9endif10 11syn sync minlines=10 linebreaks=112 13syn match ldifAttribute /^[^ #][^:]*/ contains=ldifOption display14syn match ldifOption /;[^:]\+/ contained contains=ldifPunctuation display15syn match ldifPunctuation /;/ contained display16 17syn region ldifStringValue matchgroup=ldifPunctuation start=/: / end=/\_$/ skip=/\n /18syn region ldifBase64Value matchgroup=ldifPunctuation start=/:: / end=/\_$/ skip=/\n /19syn region ldifFileValue matchgroup=ldifPunctuation start=/:< / end=/\_$/ skip=/\n /20 21syn region ldifComment start=/^#/ end=/\_$/ skip=/\n /22 23 24hi def link ldifAttribute Type25hi def link ldifOption Identifier26hi def link ldifPunctuation Normal27hi def link ldifStringValue String28hi def link ldifBase64Value Special29hi def link ldifFileValue Special30hi def link ldifComment Comment31 32 33let b:current_syntax = "ldif"34 