Unnamed repository; edit this file 'description' to name the repository.
add `uv` shebang for python (#12360)
| -rw-r--r-- | languages.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml index 645443d1..cab9e8c6 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"] |