Syntax highlighting in lambda signatures incorrectly advances the cursor position if the given return type contains generic types (ie. a >). In this case, the pointer gets stuck on this character, and loops indefinitely. This fix advances over any > that may occur after (=at the end of) the signature. The problem could probably be fixed by adjusting some regexes, but this seems to work, and shouldn't introduce any other problems as far as I'm aware.
Fixes #21
Syntax highlighting in lambda signatures incorrectly advances the cursor position if the given return type contains generic types (ie. a
>
). In this case, the pointer gets stuck on this character, and loops indefinitely. This fix advances over any>
that may occur after (=at the end of) the signature. The problem could probably be fixed by adjusting some regexes, but this seems to work, and shouldn't introduce any other problems as far as I'm aware.