Files
zed/crates
Zsolt Cserna 21fd1c8b80 python: Fix highlighting of built-in types for isinstance and issubclass (#30807)
When built-in types such as `list` is specified in calls like
`isinstance()`, the parameter is highlighted as a type.
    
The issue is caused by a change which removed `list` and others in
bf9e5b4f76.
    
This commit makes two special cases for `isinstance` and `issubclass`
ensuring tree sitter to highlight the parameters correctly.

Fixes #30331

Release Notes:

- python: Fixed syntax highlighting for `isinstance()` and
`issubclass()` calls

Co-authored-by: László Vaskó <1771332+vlaci@users.noreply.github.com>
2025-05-17 06:37:59 -04:00
..
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-05-15 22:28:52 +00:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-05-14 18:29:28 +02:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-05-07 23:11:09 +03:00
2025-04-02 13:26:34 -07:00
2025-04-23 20:54:09 +00:00
2025-04-02 13:26:34 -07:00
2025-05-07 15:37:06 +00:00
2025-04-02 13:26:34 -07:00
2025-05-15 22:28:52 +00:00
2025-05-14 18:29:28 +02:00
2025-04-02 13:26:34 -07:00
2025-05-15 22:28:52 +00:00
2025-04-02 13:26:34 -07:00
2025-05-15 22:28:52 +00:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-05-15 22:28:52 +00:00
2025-04-02 13:26:34 -07:00
2025-05-14 18:29:28 +02:00
2025-05-01 19:24:14 +00:00
2025-05-14 18:29:28 +02:00