Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
python: Add support for `uv run` as the shebang line (#45881)
flou6b3412232f97
diff --git a/crates/languages/src/python/config.toml b/crates/languages/src/python/config.tomlindex c58a54fc1ca..d96a5ea5fef 100644--- a/crates/languages/src/python/config.toml+++ b/crates/languages/src/python/config.toml@@ -1,7 +1,7 @@name = "Python"grammar = "python"path_suffixes = ["py", "pyi", "mpy"]-first_line_pattern = '^#!.*\bpython[0-9.]*\b'+first_line_pattern = '^#!.*((\bpython[0-9.]*\b)|(\buv run\b))'line_comments = ["# "]autoclose_before = ";:.,=}])>"brackets = [