Page 2 of 2

Posted: 05.02.2020 07:26
by Alexey
It's hard to detect these:
method("name", function(..){..} ...
lexer can find such tokens:
Id, bracket, String, comma, "function"
- but then it will find false positives on some complex codes.

Posted: 05.02.2020 11:35
by dhealey
I think it's fine how the way it works currently. It's better than atom too which doesn't show anon functions at all!