Make rainbow config global

This commit is contained in:
Julian Ospald 2018-10-11 14:54:16 +08:00
parent 2ac0658755
commit 2fa24865db
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
2 changed files with 4 additions and 5 deletions

View File

@ -180,11 +180,6 @@ nmap <F6> :GhcModType<CR>
let g:neoformat_enabled_haskell = ['brittany']
" rainbow
let g:rainbow_conf = {
\ 'guifgs': ['#DC322F', 'royalblue3', 'darkorange3', 'seagreen3'],
\ 'ctermfgs': ['lightred', 'lightblue', 'lightyellow', 'lightcyan', 'lightmagenta'],
\}
" map <silent> <leader>t <Plug>InteroGenericType

4
vimrc
View File

@ -202,6 +202,10 @@ let g:neosnippet#snippets_directory='~/.vim/custom-snippets'
" rainbow
let g:rainbow_conf = {
\ 'guifgs': ['#DC322F', 'royalblue3', 'darkorange3', 'seagreen3'],
\ 'ctermfgs': ['lightred', 'lightblue', 'lightyellow', 'lightcyan', 'lightmagenta'],
\}
let g:rainbow_active = 1