mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-15469 Delimiter "->" in Python is parsed as single token
Thanks to that, pressing enter no longer inserts backslash in the middle of "->" sequence (and such corrupted code is properly highlighted now on).
This commit is contained in:
@@ -14,8 +14,7 @@ PyFile:Annotations.py
|
||||
PsiElement(Py:RPAR)(')')
|
||||
PsiWhiteSpace(' ')
|
||||
PyAnnotation
|
||||
PsiElement(Py:MINUS)('-')
|
||||
PsiElement(Py:GT)('>')
|
||||
PsiElement(Py:RARROW)('->')
|
||||
PsiWhiteSpace(' ')
|
||||
PyReferenceExpression: list
|
||||
PsiElement(Py:IDENTIFIER)('list')
|
||||
|
||||
Reference in New Issue
Block a user