From 11833a5df4fbdb21dd88be267b3b97f3280121c7 Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Tue, 10 Nov 2015 10:26:15 -0800 Subject: [PATCH] Fix gui settings for Neovim.app --- vim/rc/ui.rc.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vim/rc/ui.rc.vim b/vim/rc/ui.rc.vim index d4de34b..e23bb49 100644 --- a/vim/rc/ui.rc.vim +++ b/vim/rc/ui.rc.vim @@ -20,7 +20,7 @@ try if !empty($VIM_COLOR) colorscheme $VIM_COLOR else - if has("gui_running") + if has("gui_running") || exists("neovim_dot_app") colorscheme wombat256mod else colorscheme vividchalk @@ -39,12 +39,12 @@ endif " }} " Set gui fonts {{ -if has("gui_running") +if has("gui_running") || exists("neovim_dot_app") if has("gui_win32") set guifont=Consolas:h10:b - elseif IsMac() && (has("gui_macvim") || has('nvim')) + elseif IsMac() && (has("gui_macvim") || exists("neovim_dot_app")) try - " set guifont=DejaVu\ Sans\ Mono\ for\ Powerline:h11 + set guifont=DejaVu\ Sans\ Mono\ for\ Powerline:h11 catch " Failed to set font endtry