Closed Hellzed closed 3 years ago
With tree sitter enabled, adding type annotations to function arguments breaks argument coloration.
Add type annotations to a function argument
Expected behaviour:
Argument coloration should remain the same with or without a type annotation.
Actual behavior:
Argument coloration disappears, the argument is now of default text colour.
Reproduces how often:
Always.
Atom : 1.41.0 Electron: 4.2.7 Chrome : 69.0.3497.128 Node : 10.11.0 apm 2.4.3 npm 6.2.0 node 10.2.1 x64 atom 1.41.0 python 2.7.17rc1 git 2.20.1
@Hellzed Thanks!
This seems to be fixed by https://github.com/atom/language-python/pull/228#event-1441527974, the team will look into this.
Prerequisites
Description
With tree sitter enabled, adding type annotations to function arguments breaks argument coloration.
Steps to Reproduce
Add type annotations to a function argument
Expected behaviour:
Argument coloration should remain the same with or without a type annotation.
Actual behavior:
Argument coloration disappears, the argument is now of default text colour.
Reproduces how often:
Always.
Versions
Atom : 1.41.0 Electron: 4.2.7 Chrome : 69.0.3497.128 Node : 10.11.0 apm 2.4.3 npm 6.2.0 node 10.2.1 x64 atom 1.41.0 python 2.7.17rc1 git 2.20.1