{"id":15144304,"url":"https://github.com/tree-sitter-grammars/tree-sitter-test","last_synced_at":"2025-10-23T20:32:15.217Z","repository":{"id":225693290,"uuid":"766612110","full_name":"tree-sitter-grammars/tree-sitter-test","owner":"tree-sitter-grammars","description":"TS corpus test grammar for tree-sitter","archived":false,"fork":false,"pushed_at":"2024-08-05T05:35:59.000Z","size":55,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-09-27T10:40:13.280Z","etag":null,"topics":["neovim","neovim-plugin","parser","test","tree-sitter"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tree-sitter-grammars.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-03T18:30:39.000Z","updated_at":"2024-08-18T14:07:06.000Z","dependencies_parsed_at":"2024-06-21T13:09:09.577Z","dependency_job_id":null,"html_url":"https://github.com/tree-sitter-grammars/tree-sitter-test","commit_stats":null,"previous_names":["tree-sitter-grammars/tree-sitter-test"],"tags_count":0,"template":false,"template_full_name":"tree-sitter-grammars/template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tree-sitter-grammars%2Ftree-sitter-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tree-sitter-grammars%2Ftree-sitter-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tree-sitter-grammars%2Ftree-sitter-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tree-sitter-grammars%2Ftree-sitter-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tree-sitter-grammars","download_url":"https://codeload.github.com/tree-sitter-grammars/tree-sitter-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219867845,"owners_count":16555812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["neovim","neovim-plugin","parser","test","tree-sitter"],"created_at":"2024-09-26T10:40:22.808Z","updated_at":"2025-10-23T20:32:15.210Z","avatar_url":"https://github.com/tree-sitter-grammars.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tree-sitter-test\n\n[![CI][ci]](https://github.com/tree-sitter-grammars/tree-sitter-test/actions/workflows/ci.yml)\n[![discord][discord]](https://discord.gg/w7nTvsVJhm)\n[![matrix][matrix]](https://matrix.to/#/#tree-sitter-chat:matrix.org)\n[![npm][npm]](https://www.npmjs.com/package/@tree-sitter-grammars/tree-sitter-test)\n[![crates][crates]](https://crates.io/crates/tree-sitter-test)\n[![pypi][pypi]](https://pypi.org/project/tree-sitter-test/)\n\nA tree-sitter parser for corpus test files.\n\n## References\n\n- [Command: test](https://tree-sitter.github.io/tree-sitter/creating-parsers#command-test)\n- [Constant `std::env::consts::OS`](https://doc.rust-lang.org/std/env/consts/constant.OS.html)\n\n## Usage\n\nThis can be used as a standalone plugin in Neovim, without nvim-treesitter.\u003cbr\u003e\nHere's how you can install it using [lazy.nvim](https://github.com/folke/lazy.nvim):\n\n```lua\n{\n    \"tree-sitter-grammars/tree-sitter-test\",\n    build = \"mkdir parser \u0026\u0026 tree-sitter build -o parser/test.so\",\n    ft = \"test\",\n    init = function()\n        -- toggle full-width rules for test separators\n        vim.g.tstest_fullwidth_rules = false\n        -- set the highlight group of the rules\n        vim.g.tstest_rule_hlgroup = \"FoldColumn\"\n    end\n}\n```\n\n[ci]: https://img.shields.io/github/actions/workflow/status/tree-sitter-grammars/tree-sitter-test/ci.yml?logo=github\u0026label=CI\n[discord]: https://img.shields.io/discord/1063097320771698699?logo=discord\u0026label=discord\n[matrix]: https://img.shields.io/matrix/tree-sitter-chat%3Amatrix.org?logo=matrix\u0026label=matrix\n[npm]: https://img.shields.io/npm/v/@tree-sitter-grammars/tree-sitter-test?logo=npm\n[crates]: https://img.shields.io/crates/v/tree-sitter-test?logo=rust\n[pypi]: https://img.shields.io/pypi/v/tree-sitter-test?logo=pypi\u0026logoColor=ffd242\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftree-sitter-grammars%2Ftree-sitter-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftree-sitter-grammars%2Ftree-sitter-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftree-sitter-grammars%2Ftree-sitter-test/lists"}