aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index ce7c84c..9d51fc3 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -19,6 +19,7 @@ fn main() {
19 19
20 let language = match args.next().as_ref().map(|s| s.as_str()) { 20 let language = match args.next().as_ref().map(|s| s.as_str()) {
21 Some("rust") => tree_sitter_rust::language(), 21 Some("rust") => tree_sitter_rust::language(),
22 Some("go") => tree_sitter_go::language(),
22 Some("tsx") | Some("typescript") => tree_sitter_typescript::language_tsx(), 23 Some("tsx") | Some("typescript") => tree_sitter_typescript::language_tsx(),
23 Some("javascript") => tree_sitter_javascript::language(), 24 Some("javascript") => tree_sitter_javascript::language(),
24 Some("python") => tree_sitter_python::language(), 25 Some("python") => tree_sitter_python::language(),