diff options
Diffstat (limited to 'tree-viz/src/main.rs')
-rw-r--r-- | tree-viz/src/main.rs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tree-viz/src/main.rs b/tree-viz/src/main.rs index 79964cb..9c73062 100644 --- a/tree-viz/src/main.rs +++ b/tree-viz/src/main.rs | |||
@@ -16,7 +16,14 @@ use once_cell::sync::Lazy; | |||
16 | use tree_sitter::Language; | 16 | use tree_sitter::Language; |
17 | 17 | ||
18 | //pub static LANGUAGE: Lazy<Language> = Lazy::new(tree_sitter_rust::language); | 18 | //pub static LANGUAGE: Lazy<Language> = Lazy::new(tree_sitter_rust::language); |
19 | pub static LANGUAGE: Lazy<Language> = Lazy::new(tree_sitter_typescript::language_typescript); | 19 | //pub static LANGUAGE: Lazy<Language> = Lazy::new(tree_sitter_typescript::language_tsx); |
20 | //pub static LANGUAGE: Lazy<Language> = Lazy::new(tree_sitter_javascript::language); | ||
21 | //pub static LANGUAGE: Lazy<Language> = Lazy::new(tree_sitter_mdx::language); | ||
22 | //pub static LANGUAGE: Lazy<Language> = Lazy::new(tree_sitter_json::language); | ||
23 | //pub static LANGUAGE: Lazy<Language> = Lazy::new(tree_sitter_python::language); | ||
24 | //pub static LANGUAGE: Lazy<Language> = Lazy::new(tree_sitter_ruby::language); | ||
25 | //pub static LANGUAGE: Lazy<Language> = Lazy::new(tree_sitter_r::language); | ||
26 | pub static LANGUAGE: Lazy<Language> = Lazy::new(tree_sitter_php::language); | ||
20 | 27 | ||
21 | fn main() { | 28 | fn main() { |
22 | let mut args = env::args(); | 29 | let mut args = env::args(); |