diff --git a/after/ftplugin/haskell.vim b/after/ftplugin/haskell.vim index d310d42..fcb0b4e 100644 --- a/after/ftplugin/haskell.vim +++ b/after/ftplugin/haskell.vim @@ -184,6 +184,12 @@ nmap :GhcModType let g:neoformat_enabled_haskell = ['brittany'] +" rainbow +let g:rainbow_conf = { +\ 'guifgs': ['#DC322F', 'royalblue3', 'darkorange3', 'seagreen3'], +\ 'ctermfgs': ['lightred', 'lightblue', 'lightyellow', 'lightcyan', 'lightmagenta'], +\} + " map t InteroGenericType " nnoremap jd :InteroGoToDef diff --git a/vimrc b/vimrc index 223acc1..90e68fc 100644 --- a/vimrc +++ b/vimrc @@ -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