Skip to content

Commit

Permalink
fix: Don't fail when colorscheme is not present
Browse files Browse the repository at this point in the history
  • Loading branch information
DasLampe committed Oct 29, 2023
1 parent 106b4ce commit b73fc47
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,11 @@ nmap <C-v> "*p " Paste from system clipboard
" Theme
syntax enable
set t_Co=256
colorscheme catppuccin_mocha
try
colorscheme catppuccin_mocha
catch /^Vim\%((\a\+)\)\=:E185/
" Colorscheme not available. Use default.
endtry

set backspace=indent,eol,start

Expand Down

0 comments on commit b73fc47

Please sign in to comment.