nvim-ts-rainbow2
nvim-ts-rainbow
nvim-ts-rainbow2 | nvim-ts-rainbow | |
---|---|---|
7 | 21 | |
- | 865 | |
- | - | |
- | 8.3 | |
- | over 1 year ago | |
Lua | ||
- | Apache License 2.0 |
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
-
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
-
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.
-
nvim-ts-rainbow is archived and no longer maintained
I noticed that it was abandoned when I was about to update my PR. The PR as it is up there is a mess, so I went through a major refactor and subsequently lost everything like an idiot.
-
How to configure nvim UI to look like this?
The "look" you're looking for is given by a bunch of plugins: - OneDark.nvim as colorscheme - TS Rainbow for rainbow brackets - BarBar for bufferline - Nvim Devicons and NerdFonts to view file icons - NvimTree as a file manager - Indent Blankline to show indentation guides - CompetiTest with vertical split UI - Feline as statusline plugin. In the screenshot feline is configured with a custom theme. As you can see statusline is different for CompetiTest buffers: a different statusline can be configured for every different filetype using conditional_config.
-
Lua alternative to vim-matchup
For highlightning parentheses you could check out nvim-ts-rainbow
- Supercharge your Haskell experience in neovim
- Rainbow indent guides like vscode
-
Is there any very colorful Onedark colorscheme for Neovim? Onedark.nvim and Onedarkpro.nvim are nice, but I still feel they are a little bit colorful compared to the syntax-highlight of this Onedark I used in VSCode.
Consider using nvim-ts-rainbow to get rainbow parentheses.
-
Code highlighting sucks on Neovim.
To get changed colors for nested brackets, use nvim-ts-rainbow. I think the rest of the comments have you covered on getting colors up to snuff for you. To me it just looks like mismatched colors, not that anything is wrong
-
nvim-ts-rainbow improved highlighting of JSX
I'm happy to say I have fixed [the bug in nvim-ts-rainbow] that caused all JSX props to be highlighted](https://github.com/p00f/nvim-ts-rainbow/issues/118) in extended_mode instead of just highlighting the tag names. It was bugging me for a while when working on React components. Now, only the tag names and angle brackets in JSX elements are highlighted.
-
Lisp programming configuration for neovim
Lsp support is pretty good with Neovim, but obviously depends on what Lisp you use. I also like ts-rainbow a lot, but that's literally just visual fluff for brackets
What are some alternatives?
nvim-ts-rainbow2 - Rainbow delimiters for Neovim through Tree-sitter
Bracket-Pair-Colorizer-2 - Bracket Colorizer Extension for VSCode
ts-vimdoc.nvim
indent-blankline.nvim - Indent guides for Neovim
nvim-ts-rainbow - Rainbow parentheses for neovim using tree-sitter.
rainbow - Rainbow Parentheses Improved, shorter code, no level limit, smooth and fast, powerful configuration.
rainbow_parentheses.vim - :rainbow: Simpler Rainbow Parentheses
iceberg.vim - :antarctica: Bluish color scheme for Vim and Neovim
nvim-treesitter-refactor - Refactor module for nvim-treesitter
parinfer-rust - A Rust port of parinfer.
vim-colors-solarized - precision colorscheme for the vim text editor
LunarVim - 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.