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

Fix guide buffer syntax

This commit is contained in:
wsdjeg 2017-04-22 20:05:17 +08:00
parent 096a72df53
commit f1ee475341

View File

@ -5,7 +5,7 @@ let b:current_syntax = "leaderguide"
syn region LeaderGuideKeys start="\["hs=e+1 end="\]\s"he=s-1
\ contained
syn region LeaderGuideBrackets start="\(^\|\s\+\)\[" end="\]\s\+"
syn match LeaderGuideBrackets /\[[^ ]\+\]/
\ contains=LeaderGuideKeys keepend
syn match LeaderGuideGroupName /+[^\[^\]]\+/ contained
syn region LeaderGuideDesc start="^" end="$"