{"id":47408592,"url":"https://github.com/dchinmay2/nvim-ts-rainbow","last_synced_at":"2026-04-04T01:01:36.978Z","repository":{"id":37462262,"uuid":"309360057","full_name":"dchinmay2/nvim-ts-rainbow","owner":"dchinmay2","description":"Rainbow parentheses for neovim using tree-sitter. Use https://sr.ht/~p00f/nvim-ts-rainbow instead","archived":true,"fork":false,"pushed_at":"2023-01-02T16:10:06.000Z","size":1052,"stargazers_count":856,"open_issues_count":10,"forks_count":65,"subscribers_count":10,"default_branch":"master","last_synced_at":"2026-03-11T04:08:54.993Z","etag":null,"topics":["lua","neovim","rainbow-brackets","rainbow-parentheses","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dchinmay2.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}},"created_at":"2020-11-02T12:14:27.000Z","updated_at":"2026-03-08T16:20:46.000Z","dependencies_parsed_at":"2023-02-01T03:30:54.842Z","dependency_job_id":null,"html_url":"https://github.com/dchinmay2/nvim-ts-rainbow","commit_stats":null,"previous_names":["dchinmay2/nvim-ts-rainbow"],"tags_count":0,"template":false,"template_full_name":"nvim-treesitter/module-template","purl":"pkg:github/dchinmay2/nvim-ts-rainbow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dchinmay2%2Fnvim-ts-rainbow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dchinmay2%2Fnvim-ts-rainbow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dchinmay2%2Fnvim-ts-rainbow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dchinmay2%2Fnvim-ts-rainbow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dchinmay2","download_url":"https://codeload.github.com/dchinmay2/nvim-ts-rainbow/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dchinmay2%2Fnvim-ts-rainbow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31383636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T23:20:52.058Z","status":"ssl_error","status_checked_at":"2026-04-03T23:20:51.675Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["lua","neovim","rainbow-brackets","rainbow-parentheses","tree-sitter"],"created_at":"2026-03-20T21:00:27.509Z","updated_at":"2026-04-04T01:01:36.801Z","avatar_url":"https://github.com/dchinmay2.png","language":"Lua","readme":"# NO LONGER MAINTAINED\nThis plugin is no longer maintained.\n\nI'm archiving the GitHub repo and closing the sourcehut issue tracker. Feel free to fork\n\n# 🌈 nvim-ts-rainbow 🌈\nRainbow parentheses for neovim using tree-sitter.\nThis is a module for [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter), not a standalone plugin. It requires and is configured via nvim-treesitter\n\nShould work with any language supported by nvim-treesitter. If any language is missing, please open an issue/PR.\n\nOnly neovim nightly is targeted.\n\n## Warning/notice/whatever\n\nThe queries might be out of date at any time, keeping up with them for languages I don't use is not feasible. If you get errors like `invalid node at position xxx`, try removing this plugin first before opening an issue in nvim-treesitter. If it fixes the problem, open an issue/PR here.\n\n## Installation and setup\nInstall and set up nvim-treesitter according to their documentation. Install this plugin, then add a `rainbow` section in the [call to `require(\"nvim-treesitter.configs\").setup()`](https://github.com/nvim-treesitter/nvim-treesitter#modules):\n```lua\nrequire(\"nvim-treesitter.configs\").setup {\n  highlight = {\n      -- ...\n  },\n  -- ...\n  rainbow = {\n    enable = true,\n    -- disable = { \"jsx\", \"cpp\" }, list of languages you want to disable the plugin for\n    extended_mode = true, -- Also highlight non-bracket delimiters like html tags, boolean or table: lang -\u003e boolean\n    max_file_lines = nil, -- Do not enable for files with more than n lines, int\n    -- colors = {}, -- table of hex strings\n    -- termcolors = {} -- table of colour name strings\n  }\n}\n```\n\nIf you want to enable it only for some filetypes and disable it for everything else, see https://github.com/p00f/nvim-ts-rainbow/issues/30#issuecomment-850991264\n\n### Colours\nTo change the colours you can set them in the setup:\n```lua\nrequire'nvim-treesitter.configs'.setup{\n  rainbow = {\n    -- Setting colors\n    colors = {\n      -- Colors here\n    },\n    -- Term colors\n    termcolors = {\n      -- Term colors here\n    }\n  },\n}\n```\n\nIf you want to override some colours (you can only change colours 1 through 7 this way), you can do it in your init.vim: (thanks @delphinus !). You can also use this while writing a colorscheme\n```vim\nhi rainbowcol1 guifg=#123456\n```\n## Screenshots\n - Java\n\n![alt text](https://raw.githubusercontent.com/p00f/nvim-ts-rainbow/master/screenshots/java.png)\n\nThe screenshots below use a different colorscheme\n - Fennel:\n\n![alt text](https://raw.githubusercontent.com/p00f/nvim-ts-rainbow/master/screenshots/fnlwezterm.png)\n![alt text](https://raw.githubusercontent.com/p00f/nvim-ts-rainbow/master/screenshots/fnltreesitter.png)\n - C++:\n\n![alt text](https://raw.githubusercontent.com/p00f/nvim-ts-rainbow/master/screenshots/cpp.png)\n - Latex (with tag begin-end matching)\n\n![alt text](https://raw.githubusercontent.com/p00f/nvim-ts-rainbow/master/screenshots/latex_.png)\n## Credits\nHuge thanks to @vigoux, @theHamsta, @sogaiu, @bfredl and @sunjon and @steelsojka for all their help\n","funding_links":[],"categories":["Lua"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdchinmay2%2Fnvim-ts-rainbow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdchinmay2%2Fnvim-ts-rainbow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdchinmay2%2Fnvim-ts-rainbow/lists"}