rainbow
dotfiles
Our great sponsors
rainbow | dotfiles | |
---|---|---|
9 | 4 | |
1,740 | 0 | |
- | - | |
0.0 | 2.8 | |
7 months ago | 5 days ago | |
Vim Script | Vim Script | |
Apache License 2.0 | The Unlicense |
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 😃
dotfiles
-
How to make GTK apps switch themes instantly?
If you're using a WM, you'll have to basically setup userland stuff yourself. My setup is completely automated and I can change the theme of all my applications in an instance using a single keybinding which allows me to choose one of out of hundreds of base 16 themes and then hot reloads all my applications. Obviously, this requires some research and you'll only be able to build this kind of setup making minor changes over a long time period. If you want some inspiration, you can have a look at my dotfiles.
-
Plugins alternative in Lua
The main advantage with Lua is that it makes extending neovim yourself extremely easy instead of relying on plugins written by someone else. Take for example the vim-scrolloff-fraction plugin you mentioned. I was able to figure out how to implement it myself in under 10 minutes after looking up the relevant API functions.
-
Which statusline plugin do you use?
Heres the file that sets my statusline. It shows git changes, current branch and some file location info.
-
sumneko lua lsp says packer's `use` is an undefined global
This might be helpful to you https://github.com/nimainimaii/dotfiles/blob/f7019732607fdf3b1522c0a1a21eecc9a8ed8c09/.config/nvim/lua/nimai/lsp/completion.lua#L47
What are some alternatives?
nvim-ts-rainbow - Rainbow parentheses for neovim using tree-sitter. Use https://sr.ht/~p00f/nvim-ts-rainbow instead
vim-hexokinase - hexokinase.vim - (Neo)Vim plugin for asynchronously displaying the colours in the file (#rrggbb, #rgb, rgb(a)? functions, hsl(a)? functions, web colours, custom patterns)
vim-indent-guides - A Vim plugin for visually displaying indent levels in code
lualine.nvim - A blazing fast and easy to configure neovim statusline plugin written in pure lua. [Moved to: https://github.com/nvim-lualine/lualine.nvim]
rainbow_parentheses.vim - :rainbow: Simpler Rainbow Parentheses
symbols-outline.nvim - A tree like view for symbols in Neovim using the Language Server Protocol. Supports all your favourite languages.
vim-rooter - Changes Vim working directory to project root.
splitjoin.vim - Switch between single-line and multiline forms of code
tagbar - Vim plugin that displays tags in a window, ordered by scope
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
vim-move - Plugin to move lines and selections up and down