The following variable syntax is legal, but is not highlighted correctly: `${Varname[${OtherVarName[$index]}]}` Here's an example of the current highlighting (note that it "loses" the parent variable at the first "}" encountered): <img width="197" alt="screen shot 2018-02-20 at 09 46 31" src="https://user-images.githubusercontent.com/6933976/36430364-02058a8c-1623-11e8-86ab-c2b529139d96.png"> I wonder if defining a separate variable type for arrays would help?