If I do this: syn match OptionMatcher "\%(^\|\s\)\zs-\w\+" contains=OptionStarter syn match OptionStarter contained "-"
hi link OptionMatcher SpecialThat colorizes all the words that start with "-". So in a round about way, it works! :-)
:Robert
If I do this: syn match OptionMatcher "\%(^\|\s\)\zs-\w\+" contains=OptionStarter syn match OptionStarter contained "-"
hi link OptionMatcher SpecialThat colorizes all the words that start with "-". So in a round about way, it works! :-)
:Robert