vscode-glua-enhanced
vscode-glua-enhanced copied to clipboard
Multi-line finction definition are not color coded
Hi,
Consider the following:
function LaserLib.NewLaser(user , pos , ang , model ,
trandata , key , width , length ,
damage , material , dissolveType, startSound ,
stopSound , killSound , runToggle , startOn ,
pushForce , endingEffect, reflectRate , refractRate,
forceCenter, frozen , enOverMater , enSafeBeam , rayColor )
when a closing bracket is placed on the first line we have:
when a closing bracket is placed on the first line we have:
I don't understand, the extra closing bracket creates a syntax error and closes the function definition, it can't colour past that.
The function is not colored in the first case when the syntax is correct, but colored when syntax is incorrect ( below ) only the first line