Skip to content

Commit dbe2813

Browse files
committed
Check for GuiFont before using
1 parent 9150594 commit dbe2813

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

gui.vim

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ set mousefocus
1111
set mousemodel=extend
1212

1313
" Set font.
14-
GuiFont Inconsolata-g for Powerline:h12
14+
if exists('GuiFont')
15+
GuiFont Inconsolata-g for Powerline:h12
16+
endif
1517

1618
" Set color scheme and vim-airline theme dynamically.
1719
let g:zenburn_high_Contrast = 1

0 commit comments

Comments
 (0)