Add vimrc try catch for dracula
This commit is contained in:
		
							parent
							
								
									1277631407
								
							
						
					
					
						commit
						0cc574853c
					
				
					 1 changed files with 8 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue