{"id":13477486,"url":"https://github.com/p00f/nvim-ts-rainbow","last_synced_at":"2025-09-29T13:31:05.130Z","repository":{"id":37462262,"uuid":"309360057","full_name":"p00f/nvim-ts-rainbow","owner":"p00f","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":869,"open_issues_count":10,"forks_count":67,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-01-17T04:34:43.695Z","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/p00f.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":"2024-12-24T00:41:01.000Z","dependencies_parsed_at":"2023-02-01T03:30:54.842Z","dependency_job_id":null,"html_url":"https://github.com/p00f/nvim-ts-rainbow","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"nvim-treesitter/module-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p00f%2Fnvim-ts-rainbow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p00f%2Fnvim-ts-rainbow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p00f%2Fnvim-ts-rainbow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p00f%2Fnvim-ts-rainbow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/p00f","download_url":"https://codeload.github.com/p00f/nvim-ts-rainbow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234624011,"owners_count":18862266,"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":["lua","neovim","rainbow-brackets","rainbow-parentheses","tree-sitter"],"created_at":"2024-07-31T16:01:43.465Z","updated_at":"2025-09-29T13:30:59.710Z","avatar_url":"https://github.com/p00f.png","language":"Lua","funding_links":[],"categories":["Lua"],"sub_categories":[],"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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp00f%2Fnvim-ts-rainbow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fp00f%2Fnvim-ts-rainbow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp00f%2Fnvim-ts-rainbow/lists"}