editor-core-treesitter 0.3.0

Tree-sitter integration for editor-core (highlighting, folding, incremental parsing).
Documentation
1
2
3
4
5
6
7
8
// A small fixture used by deterministic tree-sitter tests.

fn add(a: i32, b: i32) -> i32 {
    let s = "hi";
    // return the sum
    a + b
}