From 0cc574853c7248b00505bfc3b495095965e05fd8 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Wed, 19 May 2021 18:57:23 +0200 Subject: [PATCH] Add vimrc try catch for dracula --- .config/vim/vimrc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.config/vim/vimrc b/.config/vim/vimrc index 1ba610f..72c0ff9 100644 --- a/.config/vim/vimrc +++ b/.config/vim/vimrc @@ -31,8 +31,6 @@ call plug#begin('~/.config/vim/plugged') Plug 'sheerun/vim-polyglot' call plug#end() -packadd! dracula_pro - "let g:indentLine_setColors = 0 @@ -154,10 +152,15 @@ let g:jellybeans_overrides = { \ '256ctermbg': 'none' \ }, \ } -"colorscheme dracula -let g:dracula_colorterm = 0 -colorscheme dracula_pro +try + packadd! dracula_pro + colorscheme dracula_pro +catch + colorscheme dracula +endtry + +let g:dracula_colorterm = 0 highlight Normal ctermbg=NONE