Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
python: Sync built-in highlights with Python 3.15 (#57562)
Xin Zhaoee591c04ae9f
diff --git a/crates/grammars/src/python/highlights.scm b/crates/grammars/src/python/highlights.scmindex 87283aaa799..d3230f9b62f 100644--- a/crates/grammars/src/python/highlights.scm+++ b/crates/grammars/src/python/highlights.scm@@ -114,13 +114,13 @@((callfunction: (identifier) @function.builtin)(#any-of? @function.builtin- "abs" "all" "any" "ascii" "bin" "bool" "breakpoint" "bytearray" "bytes" "callable" "chr"- "classmethod" "compile" "complex" "delattr" "dict" "dir" "divmod" "enumerate" "eval" "exec"- "filter" "float" "format" "frozenset" "getattr" "globals" "hasattr" "hash" "help" "hex" "id"- "input" "int" "isinstance" "issubclass" "iter" "len" "list" "locals" "map" "max" "memoryview"- "min" "next" "object" "oct" "open" "ord" "pow" "print" "property" "range" "repr" "reversed"- "round" "set" "setattr" "slice" "sorted" "staticmethod" "str" "sum" "super" "tuple" "type"- "vars" "zip" "__import__"))+ "abs" "aiter" "all" "anext" "any" "ascii" "bin" "bool" "breakpoint" "bytearray" "bytes"+ "callable" "chr" "classmethod" "compile" "complex" "delattr" "dict" "dir" "divmod" "enumerate"+ "eval" "exec" "filter" "float" "format" "frozenset" "getattr" "globals" "hasattr" "hash" "help"+ "hex" "id" "input" "int" "isinstance" "issubclass" "iter" "len" "list" "locals" "map" "max"+ "memoryview" "min" "next" "object" "oct" "open" "ord" "pow" "print" "property" "range" "repr"+ "reversed" "round" "set" "setattr" "sentinel" "slice" "sorted" "staticmethod" "str" "sum"+ "super" "tuple" "type" "vars" "zip" "__import__")); Literals[@@ -341,6 +341,6 @@(binary_operatorleft: (identifier) @type.builtin))(#any-of? @type.builtin- "bool" "bytearray" "bytes" "complex" "dict" "float" "frozenset" "int" "list" "memoryview"- "object" "range" "set" "slice" "str" "tuple")+ "bool" "bytearray" "bytes" "complex" "dict" "float" "frozenset" "frozendict" "int" "list"+ "memoryview" "object" "range" "set" "slice" "str" "tuple")]