mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-12-01 19:58:23 -05:00
nvim: use custom parenthesis colors
This commit is contained in:
parent
3e8c895cb7
commit
82294c1e80
@ -9,7 +9,6 @@ let g:coc_global_extensions = [
|
||||
\ 'coc-lit-html',
|
||||
\ 'coc-emmet',
|
||||
\ 'coc-yaml',
|
||||
\ 'coc-xml',
|
||||
\ 'coc-css',
|
||||
\ 'coc-cssmodules',
|
||||
\ 'coc-json',
|
||||
@ -25,6 +24,7 @@ let g:coc_global_extensions = [
|
||||
\ 'coc-syntax',
|
||||
\ 'coc-yank',
|
||||
\ ]
|
||||
" \ 'coc-xml',
|
||||
" \ 'coc-go',
|
||||
" \ 'coc-rls',
|
||||
" \ 'coc-java',
|
||||
|
@ -1,7 +1,31 @@
|
||||
" Rainbow parentheses
|
||||
let g:rainbow_active = 1
|
||||
let g:rainbow#pairs = [['(', ')'], ['[', ']'], ['{', '}'], ['<', '>']]
|
||||
" let g:rainbow_conf = {'guis': ['bold']}
|
||||
"'guifgs': ['#e06c75', '#98c379', '#e5c07b', '#61afef', '#c678dd', '#56b6c2'],
|
||||
let g:rainbow_conf = {
|
||||
\ 'guifgs': ['#bf616a', '#a3be8c', '#ebcb8b', '#81a1c1', '#b48ead', '#88c0d0'],
|
||||
\ 'ctermfgs': ['lightred', 'lightgreen', 'lightyellow', 'lightblue', 'lightmagenta', 'lightcyan'],
|
||||
\ 'guis': ['bold'],
|
||||
\ 'separately': {
|
||||
\ '*': {},
|
||||
\ 'markdown': {
|
||||
\ 'parentheses_options': 'containedin=markdownCode contained',
|
||||
\ },
|
||||
\ 'haskell': {
|
||||
\ 'parentheses': ['start=/(/ end=/)/ fold', 'start=/\[/ end=/\]/ fold', 'start=/\v\{\ze[^-]/ end=/}/ fold'],
|
||||
\ },
|
||||
\ 'vim': {
|
||||
\ 'parentheses_options': 'containedin=vimFuncBody',
|
||||
\ },
|
||||
\ 'perl': {
|
||||
\ 'syn_name_prefix': 'perlBlockFoldRainbow',
|
||||
\ },
|
||||
\ 'stylus': {
|
||||
\ 'parentheses': ['start=/{/ end=/}/ fold contains=@colorableGroup'],
|
||||
\ },
|
||||
\ 'css': 0,
|
||||
\ }
|
||||
\}
|
||||
|
||||
" Rainbow csv
|
||||
let g:disable_rainbow_key_mappings = 1
|
||||
|
Loading…
Reference in New Issue
Block a user