1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 06:50:04 +08:00

Add highlight for groupname in guide

This commit is contained in:
wsdjeg 2017-04-17 20:24:31 +08:00
parent c7e16fad03
commit f10b80b00e

View File

@ -7,9 +7,13 @@ syn region LeaderGuideKeys start="\["hs=e+1 end="\]\s"he=s-1
\ contained
syn region LeaderGuideBrackets start="\(^\|\s\+\)\[" end="\]\s\+"
\ contains=LeaderGuideKeys keepend
syn match LeaderGuideGroupName /+\w\+/ contained
syn region LeaderGuideDesc start="^" end="$"
\ contains=LeaderGuideBrackets
\ contains=LeaderGuideBrackets,LeaderGuideGroupName
hi def link LeaderGuideDesc Identifier
hi def link LeaderGuideKeys Type
hi def link LeaderGuideBrackets Delimiter
hi def link LeaderGuideGroupName GruvboxPurpleBold