106
GitHub - junegunn/rainbow_parentheses.vim: Simpler Rainbow Parentheses
source link: https://github.com/junegunn/rainbow_parentheses.vim
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
Better Much simpler Rainbow Parentheses
A heavily-rewritten fork of kien/rainbow_parentheses.vim.
- Simpler commands and configuration
- Automatic color extraction
- Adjusts itself when color scheme is changed
Installation
Using vim-plug:
Plug 'junegunn/rainbow_parentheses.vim'
Commands
" Activate :RainbowParentheses " Deactivate :RainbowParentheses! " Toggle :RainbowParentheses!! " See the enabled colors :RainbowParenthesesColors " Activation based on file type augroup rainbow_lisp autocmd! autocmd FileType lisp,clojure,scheme RainbowParentheses augroup END
Customization
let g:rainbow#max_level = 16 let g:rainbow#pairs = [['(', ')'], ['[', ']']] " List of colors that you do not want. ANSI code or #RRGGBB let g:rainbow#blacklist = [233, 234]
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK