Peter Hodge wrote:
Hi,So you want something like: " highlight all var options using this match syntax match allVarOptions "\%(\s\|^\)\zs-\w\+" " highlight the keywords within allVarOptions: " note: because '-' is an iskeyword character, you have to " use a match instead. syntax match allVarOptionKeywords contained containedin=allVarOptions \ "\v%(command|fill|pady|padx|)" Hope that helps, regards, Peter
Nada on that working as well. Ah well. :Robert