diff --git a/vim/vimrc b/vim/vimrc index 2c2681d..f5c02bd 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -3,16 +3,16 @@ if has('conceal') endif nnoremap autoformat! :%s/, /,:%s/ \/ /\/:%s/ {/{:%s/} /}:%s/ = /= command! WW %!sudo tee > /dev/null % -au VimResized * exe "normal! \=" -au BufRead,BufNewFile *.twig set filetype=htmljinja -au FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o -au FileType * :hi IndentGuidesOdd guibg=red ctermbg=239 -au FileType * :hi IndentGuidesEven guibg=white ctermbg=239 -au FileType css setlocal omnifunc=csscomplete#CompleteCSS -au FileType html,markdown setlocal omnifunc=htmlcomplete#CompleteTags -au FileType javascript setlocal omnifunc=javascriptcomplete#CompleteJS -au FileType python setlocal omnifunc=pythoncomplete#Complete -au FileType xml setlocal omnifunc=xmlcomplete#CompleteTags +"TODO: Fix this +"let g:rbpt_loadcmd_toggle = 1 +"autocmd BufRead,BufNewFile * RainbowParenthesesActivate +""autocmd BufRead,BufNewFile * RainbowParenthesesToggle +""autocmd BufRead,BufNewFile * RainbowParenthesesLoadBraces +"autocmd BufRead,BufNewFile * RainbowParenthesesLoadRound +"autocmd BufRead,BufNewFile * RainbowParenthesesLoadSquare +"autocmd BufRead,BufNewFile * RainbowParenthesesLoadChevrons + + "match Error /\s\+$/ "nnoremap s xa "nnoremap :UndotreeToggle @@ -334,7 +334,9 @@ Plug 'vim-scripts/SyntaxRange' Plug 'PotatoesMaster/i3-vim-syntax' "i3 syntax | https://github.com/PotatoesMaster/i3-vim-syntax Plug 'https://github.com/fatih/vim-go' - " | https://github.com/fatih/vim-go + "go syntax | https://github.com/fatih/vim-go +Plug 'https://github.com/kien/rainbow_parentheses.vim' + "Colored parenthesis | https://github.com/kien/rainbow_parentheses.vim call plug#end() filetype plugin indent on if exists("+undofile")