tree-sitter-test

Crates.iotree-sitter-test
lib.rstree-sitter-test
version0.1.0
sourcesrc
created_at2024-11-18 14:35:05.145042
updated_at2024-11-18 14:35:05.145042
descriptionTS corpus test grammar for tree-sitter
homepage
repositoryhttps://github.com/tree-sitter-grammars/tree-sitter-test
max_upload_size
id1452238
size83,802
(ObserverOfTime)

documentation

README

tree-sitter-test

CI discord matrix npm crates pypi

A tree-sitter parser for corpus test files.

References

Usage

This can be used as a standalone plugin in Neovim, without nvim-treesitter.
Here's how you can install it using lazy.nvim:

{
    "tree-sitter-grammars/tree-sitter-test",
    build = "mkdir parser && tree-sitter build -o parser/test.so",
    ft = "test",
    init = function()
        -- toggle full-width rules for test separators
        vim.g.tstest_fullwidth_rules = false
        -- set the highlight group of the rules
        vim.g.tstest_rule_hlgroup = "FoldColumn"
    end
}
Commit count: 21

cargo fmt