Rainbow doesn't work with treesitter and I'm not sure why

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • rainbow

    Rainbow Parentheses Improved, shorter code, no level limit, smooth and fast, powerful configuration. (by luochen1990)

  • luochen1990/rainbow plugin stopped working at all when treesitter highlight is enabled (I'm not sure if I'm going crazy, but I'm sure it worked earlier) and I'm not sure if it is possible to make it work again or why is it even like that... It does indeed starts working again when I disable TS highlight with :TSDisableAll highlight and I suspect it's because rainbow utilizes :syn command

  • nvim-ts-rainbow

    Discontinued Rainbow parentheses for neovim using tree-sitter. Use https://sr.ht/~p00f/nvim-ts-rainbow instead

  • Is it possible to make it work? I don't want to switch to p00f/nvim-ts-rainbow because it seems like it uses language specific queries and works heavily inconsistently (i.e. round brackets aren't highlighted in lua but are in c++, etc)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts