Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.78 KB

README.md

File metadata and controls

44 lines (35 loc) · 1.78 KB

tree-sitter-test

CI discord matrix

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",
    -- compile on your own on Windows
    build = "make 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
}