Enable vim-rainbow for haskell as well

This commit is contained in:
Julian Ospald 2018-09-17 15:44:18 +08:00
parent 649f4db641
commit 353281ff32
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
2 changed files with 11 additions and 1 deletions

View File

@ -184,6 +184,12 @@ 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
" nnoremap <silent> <leader>jd :InteroGoToDef<CR>

6
vimrc
View File

@ -100,11 +100,11 @@ Plug 'guns/vim-slamhound', {'for': 'clojure'}
" Plug 'guns/vim-sexp', {'for': 'clojure'}
" Plug 'tpope/vim-sexp-mappings-for-regular-people', {'for': 'clojure'}
" Plug 'kovisoft/paredit', {'for': 'clojure'}
Plug 'luochen1990/rainbow', { 'for': ['clojure', 'haskell'] }
Plug 'tpope/vim-salve', { 'for': 'clojure' }
Plug 'tpope/vim-projectionist', { 'for': 'clojure' }
Plug 'tpope/vim-dispatch', { 'for': 'clojure' }
Plug 'tpope/vim-fireplace', { 'for': 'clojure' }
Plug 'luochen1990/rainbow', { 'for': 'clojure' }
Plug 'typedclojure/vim-typedclojure', {'for': 'clojure'}
@ -194,6 +194,10 @@ let g:neosnippet#enable_snipmate_compatibility = 1
let g:neosnippet#snippets_directory='~/.vim/custom-snippets'
" rainbow
let g:rainbow_active = 1
" vim airline
" let g:airline#extensions#tabline#enabled = 1