rainbow
nvim-ts-rainbow
Our great sponsors
rainbow | nvim-ts-rainbow | |
---|---|---|
9 | 21 | |
1,740 | 865 | |
- | - | |
0.0 | 8.3 | |
7 months ago | over 1 year ago | |
Vim Script | Lua | |
Apache License 2.0 | 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.
rainbow
-
Custom parentheses highlighting
Rainbow will do your first requirement: https://github.com/luochen1990/rainbow
-
Rainbow doesn't work with treesitter and I'm not sure why
Okay it's actually a bit (alot) different and easier and I described it here: https://github.com/luochen1990/rainbow/issues/163
-
Improved C syntax highlighting for Vim
The parentheses color are not caused by this script, but by my usage of rainbow parentheses (some variant of https://github.com/luochen1990/rainbow) which I have configured for my usual light background vim theme.
I did not spend time to set up a more empty vim configuration to take the screenshots.
The script does not introduce any new colors, it just changes what is highlighted as cType.
It does change the color of parentheses for "if" statements to be the same color as the keyword. I am undecided if I should keep that or not. Opinions from people not using rainbow or similar plugins are welcome.
- Plugins alternative in Lua
-
[Looking for a plugin] Color coding matching braces, parentheses
For comparison here are operands configured. Is this included?
-
Simple and Nice color scheme 😃
Yup, I use this plugin vim-python/python-syntax and rainbow parentheses 😃
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?
vim-indent-guides - A Vim plugin for visually displaying indent levels in code
Bracket-Pair-Colorizer-2 - Bracket Colorizer Extension for VSCode
rainbow_parentheses.vim - :rainbow: Simpler Rainbow Parentheses
indent-blankline.nvim - Indent guides for Neovim
vim-rooter - Changes Vim working directory to project root.
splitjoin.vim - Switch between single-line and multiline forms of code
iceberg.vim - :antarctica: Bluish color scheme for Vim and Neovim
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
nvim-treesitter-refactor - Refactor module for nvim-treesitter
vista.vim - :cactus: Viewer & Finder for LSP symbols and tags
parinfer-rust - A Rust port of parinfer.