From 325593ed94e9f8e9f782600f93c646f9b0788702 Mon Sep 17 00:00:00 2001 From: Rawley Date: Wed, 2 Mar 2022 22:59:27 +0000 Subject: [PATCH] Update .vimrc --- .vimrc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.vimrc b/.vimrc index 0341e8f..f20e3ae 100644 --- a/.vimrc +++ b/.vimrc @@ -1,3 +1,9 @@ +"Not compatible with vi, which causes problems +set nocompatible +filetype on +filetype plugin on +filetype indent on +"Plugins in ~/.vim/plugged call plug#begin() Plug 'jiangmiao/auto-pairs' Plug 'pangloss/vim-javascript', { 'for': 'javascript' } @@ -17,6 +23,7 @@ call plug#begin() Plug 'ap/vim-buftabline' Plug 'dracula/vim' Plug 'fatih/vim-go', { 'for': 'go' } + Plug 'kien/rainbow_parentheses.vim', { 'for': 'clojure' } call plug#end() colorscheme dracula set bg=dark @@ -35,3 +42,8 @@ nmap :NERDTreeToggle inoremap pumvisible() ? "\" : "\" inoremap pumvisible() ? "\" : "\" inoremap pumvisible() ? "\" : "\" +if filetype?=="clojure" + call RainbowParenthesesToggle + call RainbowParenthesesLoadRound + call RainbowParenthesesLoadSquare +endif