Some early Vim 6 builds don't have :try..:endtry and since we weren't
doing anything useful with the :catch it's easier to use :silent.
" Set colours.
if has("gui_running")
- try
- if has("win32")
- se guifont=DejaVu_Sans_Mono:h10:cANSI
- else
- se guifont=DejaVu\ Sans\ Mono\ 10
- endif
- catch
- endtry
+ if has("win32")
+ silent se guifont=DejaVu_Sans_Mono:h10:cANSI
+ else
+ silent se guifont=DejaVu\ Sans\ Mono\ 10
+ endif
endif
if has("gui_running") || &t_Co > 16
- try
- colo iain
- catch
- endtry
+ silent colo iain
endif
" Ignore whitespace when diffing.