Python: Use tsp instead of tree-sitter-python

This commit is contained in:
Taus
2024-03-19 15:34:48 +00:00
parent 38169a981d
commit d12ac1e7ce
7 changed files with 122 additions and 122 deletions

View File

@@ -488,7 +488,7 @@ fn main() -> Result<()> {
"bundled `python.tsg`".to_owned()
};
let source_path = Path::new(matches.value_of("source").unwrap());
let language = tree_sitter_python::language();
let language = tsp::language();
let mut parser = Parser::new();
parser.set_language(language)?;
// Statically include `python.tsg`: