4 releases
0.0.4 | Sep 23, 2022 |
---|---|
0.0.3 | Sep 23, 2022 |
0.0.2 | Sep 23, 2022 |
0.0.1 | Sep 23, 2022 |
#436 in Text editors
130KB
4K
SLoC
tree-sitter-vue3
Tree-sitter-vue3 is a fast syntax HeighLight、Automatic completion tools base on Tree-sitter for vue3(vue-next)。
⚠️ The repo is wip. The futures has not been implemented yet.
Futures Status
🚧 is wip ✅ is done
name | status |
---|---|
HeighLight | 🚧 |
Automatic completion | 🚧 |
Syntax Tree | 🚧 |
lib.rs
:
This crate provides YOUR_LANGUAGE_NAME language support for the tree-sitter parsing library.
Typically, you will use the language function to add this language to a tree-sitter Parser, and then use the parser to parse some code:
let code = "";
let mut parser = tree_sitter::Parser::new();
parser.set_language(tree_sitter_vue3::language()).expect("Error loading YOUR_LANGUAGE_NAME grammar");
let tree = parser.parse(code, None).unwrap();
Dependencies
~2.7–4MB
~75K SLoC