nvim-ts-rainbow2 VS Comment.nvim

Compare nvim-ts-rainbow2 vs Comment.nvim and see what are their differences.

Comment.nvim

:brain: :muscle: // Smart and powerful comment plugin for neovim. Supports treesitter, dot repeat, left-right/up-down motions, hooks, and more (by numToStr)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
nvim-ts-rainbow2 Comment.nvim
7 62
- 3,581
- -
- 5.6
- 5 days ago
Lua
- MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

nvim-ts-rainbow2

Posts with mentions or reviews of nvim-ts-rainbow2. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-28.
  • Bracket pair Colorizing plugin
    1 project | /r/neovim | 25 Jun 2023
    You should continue with the fork nvim-ts-rainbow2 instead. But I also have the same problem. The colors are not updated instantaneously and sometimes pairs are mismatched. But most of the time formatting the file works fine. Other times simple :e solves it certainly.
  • treesitter?
    2 projects | /r/neovim | 28 May 2023
    Author of nvim-ts-rainbow2 (fork of the aforementioned nvim-ts-rainbow) here.
  • Question for lua Plugin devs.
    8 projects | /r/neovim | 10 Mar 2023
    If you are afraid of missing something, then I recommend you to put all public symbols in one file. For example, in nvim-ts-rainbow2 the file lua/ts-rainbow re-exports symbols from private modules for public use. Whenever I add a new symbol to the table I know I have to document it.
  • nvim-ts-rainbow colors are out of order and random
    1 project | /r/neovim | 5 Mar 2023
    I was using a recent fork of it from 'mrjones2014'. Now I tried https://gitlab.com/HiPhish/nvim-ts-rainbow2 too, still the same issue random order in different files. So weird :(
  • TS: Level of a node based on capture group?
    2 projects | /r/neovim | 20 Jan 2023
    for the past few days I have been working on a fork to the nvim-ts-rainbow plugin: nvim-ts-rainbow2. I am pretty much done, except for one small issue: finding out the level of a node relative to other container nodes. I know how to determine the level of a node in the tree (just keep counting up from 1 while going through the parents until I hit the root), but that is not what I need.
  • Maintained fork of nvim-ts-rainbow
    3 projects | /r/neovim | 5 Jan 2023
    Do you have any concrete plans on what you want to change? I have created a fork as well, but one which intends to overhaul the code quite a bit. See the TODO file for an overview (some of it is already implemented).
  • nvim-ts-rainbow is archived and no longer maintained
    3 projects | /r/neovim | 4 Jan 2023
    I have now forked to incorporate my ideas. The key idea is to abstract away the concept of a "strategy", which is to say how to perform the highlighting. The default strategy for now is the global highlight in which the entire buffer is lit up like a Christmas tree. The next strategy will be like in the PR above to highlight only the current sub-tree that contains the cursor (see video in linked issue).

Comment.nvim

Posts with mentions or reviews of Comment.nvim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-11.

What are some alternatives?

When comparing nvim-ts-rainbow2 and Comment.nvim you can also consider the following projects:

nvim-ts-rainbow2 - Rainbow delimiters for Neovim through Tree-sitter

nvim-treesitter - Nvim Treesitter configurations and abstraction layer

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

kommentary - Neovim commenting plugin, written in lua.

ts-vimdoc.nvim

nvim-ts-context-commentstring - Neovim treesitter plugin for setting the commentstring based on the cursor location in a file.

nvim-ts-rainbow - Rainbow parentheses for neovim using tree-sitter.

commented.nvim - Neovim commenting plugin in Lua. Support operator, motions and more than 60 languages! :fire:

fzf-lua - Improved fzf.vim written in lua

vim-commentary - commentary.vim: comment stuff out

clipboard-image.nvim - Neovim Lua plugin to paste image from clipboard.

tcomment_vim - An extensible & universal comment vim-plugin that also handles embedded filetypes