Add vimrc try catch for dracula

This commit is contained in:
Tobias Reisinger 2021-05-19 18:57:23 +02:00
parent 1277631407
commit 0cc574853c
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE

View file

@ -31,8 +31,6 @@ call plug#begin('~/.config/vim/plugged')
Plug 'sheerun/vim-polyglot' Plug 'sheerun/vim-polyglot'
call plug#end() call plug#end()
packadd! dracula_pro
"let g:indentLine_setColors = 0 "let g:indentLine_setColors = 0
@ -154,10 +152,15 @@ let g:jellybeans_overrides = {
\ '256ctermbg': 'none' \ '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 highlight Normal ctermbg=NONE