nvim: init.vim: Remove parinfer & add rainbow parentheses

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2019-10-29 11:45:54 +05:30
parent c6a4da0c31
commit 2ea11a9dbd

View file

@ -42,12 +42,12 @@ Plug 'vim-utils/vim-husk'
Plug 'steffanc/cscopemaps.vim' Plug 'steffanc/cscopemaps.vim'
Plug 'ludovicchabant/vim-gutentags' Plug 'ludovicchabant/vim-gutentags'
" GDB " GDB
Plug 'sakhnik/nvim-gdb', { 'do': ':!./install.sh \| UpdateRemotePlugins' } Plug 'sakhnik/nvim-gdb', { 'do': ':UpdateRemotePlugins' }
" Lisp " Lisp
Plug 'eraserhd/parinfer-rust', { 'do': 'cargo build --release' }
Plug 'Olical/vim-scheme', { 'for': 'scheme', 'on': 'SchemeConnect' }
Plug 'guns/vim-sexp' Plug 'guns/vim-sexp'
Plug 'tpope/vim-sexp-mappings-for-regular-people' Plug 'tpope/vim-sexp-mappings-for-regular-people'
Plug 'junegunn/rainbow_parentheses.vim'
Plug 'Olical/vim-scheme', { 'for': 'scheme', 'on': 'SchemeConnect' }
" Haskell " Haskell
Plug 'neovimhaskell/haskell-vim', { 'for': [ 'haskell', 'cabal' ] } Plug 'neovimhaskell/haskell-vim', { 'for': [ 'haskell', 'cabal' ] }
Plug 'parsonsmatt/intero-neovim' Plug 'parsonsmatt/intero-neovim'
@ -228,6 +228,11 @@ augroup deopleteMaps
au FileType rust nmap <buffer> <Leader>rt <plug>DeopleteRustGoToDefinitionTab au FileType rust nmap <buffer> <Leader>rt <plug>DeopleteRustGoToDefinitionTab
augroup END augroup END
augroup rainbow_lisp
autocmd!
autocmd FileType lisp,clojure,scheme RainbowParentheses
augroup END
" Starts the REPL. " Starts the REPL.
autocmd FileType scheme nnoremap <buffer> <Leader>rc :SchemeConnect<cr> autocmd FileType scheme nnoremap <buffer> <Leader>rc :SchemeConnect<cr>
" Evaluates the outer most / top level form and jumps the cursor back to where it was. " Evaluates the outer most / top level form and jumps the cursor back to where it was.