nvim-ts-rainbow2
By gitlab-HiPhish
nvim-ts-rainbow
Rainbow parentheses for neovim using tree-sitter. (by mrjones2014)
nvim-ts-rainbow2 | nvim-ts-rainbow | |
---|---|---|
7 | 4 | |
- | 187 | |
- | - | |
- | 10.0 | |
- | 12 months ago | |
Lua | ||
- | Apache License 2.0 |
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.
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
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?
Author of nvim-ts-rainbow2 (fork of the aforementioned nvim-ts-rainbow) here.
-
Question for lua Plugin devs.
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
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?
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
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
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).
nvim-ts-rainbow
Posts with mentions or reviews of nvim-ts-rainbow.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-10.
-
Introducing nvim-ts-rainbow2
I thought mrjones2014 had an active fork. Is this project better?
-
treesitter rainbow colors not matching
I would simply switch to https://github.com/mrjones2014/nvim-ts-rainbow now, and see if everything is ok. I did the switch recently and everything was ok
-
Maintained fork of nvim-ts-rainbow
You can find a maintained fork of nvim-ts-rainbow here
What are some alternatives?
When comparing nvim-ts-rainbow2 and nvim-ts-rainbow you can also consider the following projects:
nvim-ts-rainbow2 - Rainbow delimiters for Neovim through Tree-sitter
nvim-ts-rainbow - Rainbow parentheses for neovim using tree-sitter. Use https://sr.ht/~p00f/nvim-ts-rainbow instead
ts-vimdoc.nvim