From dd413813f2a8408cfccd82ca1f7fbfa9f5a80ac6 Mon Sep 17 00:00:00 2001 From: zhujinxuan Date: Sun, 22 Apr 2018 17:29:23 -0400 Subject: [PATCH] Remove unknown option guifont in VimR --- config/general.vim | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/general.vim b/config/general.vim index a9240bf0b..8a25434e2 100644 --- a/config/general.vim +++ b/config/general.vim @@ -28,6 +28,8 @@ endif if g:spacevim_hiddenfileinfo == 1 && has('patch-7.4.1570') set shortmess+=F endif -if !empty(g:spacevim_guifont) - let &guifont = g:spacevim_guifont +if has('gui_running') + if !empty(g:spacevim_guifont) + let &guifont = g:spacevim_guifont + endif endif