Skip to content

Commit

Permalink
feat: Add syntax highlighting for uv python scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
hverlin committed Dec 13, 2024
1 parent 2c7f8e7 commit 9563fcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntaxes/tera-mise.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
{
"name": "meta.embedded.block.scriptPython",
"contentName": "meta.embedded.block.scriptPython",
"begin": "(^|\\G)\\s*(#!\\/usr\\/bin\\/env\\s+(?:-S\\s+)?(?:python)[^\\n]*(?=\\n|$))",
"begin": "(^|\\G)\\s*(#!\\/usr\\/bin\\/env\\s+(?:-S\\s+)?(?:python|uv)[^\\n]*(?=\\n|$))",
"beginCaptures": {
"2": { "name": "comment.line.shebang.script" }
},
Expand Down

0 comments on commit 9563fcc

Please sign in to comment.