See the following code:
classdef Foo
methods
function test()
foo(bar(@(x) x));
end
end
methods
end
end
In VS Code, this is syntax highlighted in the following way:
The first end is tokenized as keyword.operator.word.matlab instead of storage.type.function.end.matlab.