Add support for highlighting python based on the nix highlighter.

This commit is contained in:
Tom Alexander
2025-02-22 17:56:56 -05:00
parent 749f6d7a55
commit 04952895cf
5 changed files with 122 additions and 18 deletions

11
Cargo.lock generated
View File

@@ -465,6 +465,7 @@ dependencies = [
"toml",
"tree-sitter-highlight",
"tree-sitter-nix",
"tree-sitter-python",
"url",
]
@@ -817,6 +818,16 @@ dependencies = [
"tree-sitter-language",
]
[[package]]
name = "tree-sitter-python"
version = "0.23.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3d065aaa27f3aaceaf60c1f0e0ac09e1cb9eb8ed28e7bcdaa52129cffc7f4b04"
dependencies = [
"cc",
"tree-sitter-language",
]
[[package]]
name = "unicode-bidi"
version = "0.3.17"