Closed watermarkhu closed 6 months ago
There are currently many errors when function definitions occur on multiple lines.
For example, in an existing testcase, the meta.assignment.variable.output.matlab scope is lost, and is recognized as the entity.name.function.matlab. https://github.com/mathworks/MATLAB-Language-grammar/blob/da0cd40defa79fb9f867d6d0b222091cfdab3869/test/t41FunctionDefinitions.m#L31
meta.assignment.variable.output.matlab
entity.name.function.matlab
Also, in this case the input arguments, while colored correctly, are detected as a standard function call, in stead of the meta.parameters.matlab scope.
meta.parameters.matlab
There are currently many errors when function definitions occur on multiple lines.
For example, in an existing testcase, the
meta.assignment.variable.output.matlab
scope is lost, and is recognized as theentity.name.function.matlab
. https://github.com/mathworks/MATLAB-Language-grammar/blob/da0cd40defa79fb9f867d6d0b222091cfdab3869/test/t41FunctionDefinitions.m#L31Also, in this case the input arguments, while colored correctly, are detected as a standard function call, in stead of the
meta.parameters.matlab
scope.