Skip to content

Builtin type not highlighted in isinstance #30331

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
failable opened this issue May 9, 2025 · 0 comments
Open

Builtin type not highlighted in isinstance #30331

failable opened this issue May 9, 2025 · 0 comments

Comments

@failable
Copy link

failable commented May 9, 2025

Summary

Builtin type not highlighted in isinstance
Steps to reproduce:

Input the following content in a Python buffer

a: list[int] = []
if isinstance(a, list):
    pass

Expected Behavior:

Builtin type should be highlighted in isinstance.

Actual Behavior:

Image

(list is not highlighted any more since updating to the latest preview.)

Zed Version and System Specs

Zed: v0.186.4 (Zed Preview)
OS: macOS 15.4.1
Memory: 64 GiB
Architecture: aarch64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant