diff --git a/syntax/leaderGuide.vim b/syntax/leaderGuide.vim index 0653f522c..f30655fa4 100644 --- a/syntax/leaderGuide.vim +++ b/syntax/leaderGuide.vim @@ -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 + +