{"id":27992818,"url":"https://github.com/oxy2dev/tree-sitter-lua_patterns","last_synced_at":"2025-05-08T18:43:01.799Z","repository":{"id":276509175,"uuid":"929462126","full_name":"OXY2DEV/tree-sitter-lua_patterns","owner":"OXY2DEV","description":"Tree-sitter parser for Lua patterns","archived":false,"fork":false,"pushed_at":"2025-04-29T04:52:36.000Z","size":132,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-29T05:31:13.842Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/OXY2DEV.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,"zenodo":null}},"created_at":"2025-02-08T15:54:44.000Z","updated_at":"2025-04-29T04:52:40.000Z","dependencies_parsed_at":"2025-02-08T18:25:31.633Z","dependency_job_id":"c9462ff2-b23a-4070-b715-ad95901c2d6f","html_url":"https://github.com/OXY2DEV/tree-sitter-lua_patterns","commit_stats":null,"previous_names":["oxy2dev/tree-sitter-lua_patterns"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OXY2DEV%2Ftree-sitter-lua_patterns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OXY2DEV%2Ftree-sitter-lua_patterns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OXY2DEV%2Ftree-sitter-lua_patterns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OXY2DEV%2Ftree-sitter-lua_patterns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OXY2DEV","download_url":"https://codeload.github.com/OXY2DEV/tree-sitter-lua_patterns/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253131644,"owners_count":21859048,"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":[],"created_at":"2025-05-08T18:43:00.814Z","updated_at":"2025-05-08T18:43:01.792Z","avatar_url":"https://github.com/OXY2DEV.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tree-sitter-lua_patterns\n\n[![CI][ci]](https://github.com/tree-sitter/tree-sitter-lua_patterns/actions/workflows/ci.yml)\n[![discord][discord]](https://discord.gg/w7nTvsVJhm)\n[![matrix][matrix]](https://matrix.to/#/#tree-sitter-chat:matrix.org)\n\nLua patterns grammar for [tree-sitter](https://github.com/tree-sitter/tree-sitter).\n\n[ci]: https://img.shields.io/github/actions/workflow/status/OXY2DEV/tree-sitter-lua_patterns/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\n## 📥 Installation\n\n### 💡 nvim-treesitter\n\nNow, put this in your `nvim-treesitter` config,\n\n```lua\nlocal parser_configs = require(\"nvim-treesitter.parsers\").get_parser_configs();\n\nparser_configs.lua_patterns = {\n    install_info = {\n        url = \"https://github.com/OXY2DEV/tree-sitter-lua_patterns\",\n        files = { \"src/parser.c\" },\n        branch = \"main\",\n    },\n}\n```\n\nNow, quit \u0026 open Neovim and run this command,\n\n```vim\n:TSInstall lua_patterns\n```\n\n### 💡 manual\n\nCopy the `lua_patterns.so` file to `~/.config/nvim/parser/`.\n\n## 💥 Syntax highlighting\n\nFirst clone this repository to your machine. I cloned it to `~/.config/nvim/parsers/nvim-treesitter-lua_patterns`.\n\n\u003e Or just copy the `highlights.scm` file to `~/.config/nvim/queries/lua_patterns/highlights.scm`.\n\nTo get syntax highlighting you need to copy the `queries/highlights.scm` to `~/.config/nvim/queries/lua_patterns/`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxy2dev%2Ftree-sitter-lua_patterns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foxy2dev%2Ftree-sitter-lua_patterns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxy2dev%2Ftree-sitter-lua_patterns/lists"}