From 6d07ae4f07c220e50200c3dddde098a746c23a85 Mon Sep 17 00:00:00 2001 From: Karim Abou Zeid <7303830+kabouzeid@users.noreply.github.com> Date: Sun, 29 Dec 2024 03:44:26 +0100 Subject: [PATCH] add `uv` shebang for python (#12360) --- languages.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages.toml b/languages.toml index 645443d15865..cab9e8c65634 100644 --- a/languages.toml +++ b/languages.toml @@ -882,7 +882,7 @@ name = "python" scope = "source.python" injection-regex = "py(thon)?" file-types = ["py", "pyi", "py3", "pyw", "ptl", "rpy", "cpy", "ipy", "pyt", { glob = ".python_history" }, { glob = ".pythonstartup" }, { glob = ".pythonrc" }, { glob = "SConstruct" }, { glob = "SConscript" }] -shebangs = ["python"] +shebangs = ["python", "uv"] roots = ["pyproject.toml", "setup.py", "poetry.lock", "pyrightconfig.json"] comment-token = "#" language-servers = ["ruff", "jedi", "pylsp"]