\1\s\+\S\+' skipwhite nextgroup=slrnrcKey contains=slrnrcSetKeyObj\(Str\)\=,slrnrcFunArt syn match slrnrcSetkeyGroup contained '\("\=\)\\1\s\+\S\+' skipwhite nextgroup=slrnrcKey contains=slrnrcSetKeyObj\(Str\)\=,slrnrcFunGroup syn match slrnrcSetkeyRead contained '\("\=\)\\1\s\+\S\+' skipwhite nextgroup=slrnrcKey contains=slrnrcSetKeyObj\(Str\)\=,slrnrcFunRead syn match slrnrcSetkey "^\s*setkey\>" skipwhite nextgroup=slrnrcSetkeyArt,slrnrcSetkeyGroup,slrnrcSetkeyRead " Unbinding keys syn match slrnrcUnsetkey '^\s*unsetkey\s\+\("\)\=\(article\|group\|readline\)\>\1' skipwhite nextgroup=slrnrcKey contains=slrnrcSetkeyObj\(Str\)\= " Define the default highlighting. " Only when an item doesn't have highlighting yet hi def link slrnrcTodo Todo hi def link slrnrcSpaceError Error hi def link slrnrcNumber Number hi def link slrnrcSpecKey SpecialChar hi def link slrnrcKey String hi def link slrnrcSpecChar SpecialChar hi def link slrnrcString String hi def link slrnSlangPreCondit Special hi def link slrnrcComment Comment hi def link slrnrcVarInt Identifier hi def link slrnrcVarStr Identifier hi def link slrnrcCmd slrnrcSet hi def link slrnrcSet Operator hi def link slrnrcColor Keyword hi def link slrnrcColorObj Identifier hi def link slrnrcColorVal String hi def link slrnrcMono Keyword hi def link slrnrcMonoObj Identifier hi def link slrnrcMonoVal String hi def link slrnrcFunArt Macro hi def link slrnrcFunGroup Macro hi def link slrnrcFunRead Macro hi def link slrnrcSetkeyObj Identifier hi def link slrnrcSetkey Keyword hi def link slrnrcUnsetkey slrnrcSetkey let b:current_syntax = "slrnrc" "EOF vim: ts=8 noet tw=120 sw=8 sts=0