Tags: patch Python has a "->" operator to specify the return type of functions. For example: def add(a: int, b: int) -> int: return a + b The following patch adds support for it in python-ts-mode.