Add snippet crate

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
Max Brunsfeld 2022-02-01 10:42:14 -08:00
parent d873786710
commit 956748e10c
15 changed files with 1385 additions and 0 deletions

13
crates/snippet/Cargo.toml Normal file
View file

@ -0,0 +1,13 @@
[package]
name = "snippet"
version = "0.1.0"
edition = "2021"
[lib]
path = "src/snippet.rs"
[dependencies]
anyhow = "1.0"
smallvec = { version = "1.6", features = ["union"] }
tree-sitter = "0.20"
tree-sitter-snippet = { path = "./grammar" }