I'm trying to get
% to match custom keyword pairs
With vim matchit, I can do
let b:match_words= \ '\<Start\>:\<Stop\>'
I would like to match
Start with either
Stop2. How can I do this?
I have tried
let b:match_words= \ '\<Start\>:\<Stop\>,' . \ '\<Start\>:\<Stop2\>'
% only jumps from
Start but not from
I also have instances where I'd like where multiple possible start words should match with a single stop word (I don't think I have one where both the start and the stop have multiple spellings, if this matters.)
How can this kind of matching be done in vim?