mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2025-01-08 21:27:35 +00:00
Fix gui settings for Neovim.app
This commit is contained in:
parent
5334b59979
commit
11833a5df4
@ -20,7 +20,7 @@ try
|
|||||||
if !empty($VIM_COLOR)
|
if !empty($VIM_COLOR)
|
||||||
colorscheme $VIM_COLOR
|
colorscheme $VIM_COLOR
|
||||||
else
|
else
|
||||||
if has("gui_running")
|
if has("gui_running") || exists("neovim_dot_app")
|
||||||
colorscheme wombat256mod
|
colorscheme wombat256mod
|
||||||
else
|
else
|
||||||
colorscheme vividchalk
|
colorscheme vividchalk
|
||||||
@ -39,12 +39,12 @@ endif
|
|||||||
" }}
|
" }}
|
||||||
|
|
||||||
" Set gui fonts {{
|
" Set gui fonts {{
|
||||||
if has("gui_running")
|
if has("gui_running") || exists("neovim_dot_app")
|
||||||
if has("gui_win32")
|
if has("gui_win32")
|
||||||
set guifont=Consolas:h10:b
|
set guifont=Consolas:h10:b
|
||||||
elseif IsMac() && (has("gui_macvim") || has('nvim'))
|
elseif IsMac() && (has("gui_macvim") || exists("neovim_dot_app"))
|
||||||
try
|
try
|
||||||
" set guifont=DejaVu\ Sans\ Mono\ for\ Powerline:h11
|
set guifont=DejaVu\ Sans\ Mono\ for\ Powerline:h11
|
||||||
catch
|
catch
|
||||||
" Failed to set font
|
" Failed to set font
|
||||||
endtry
|
endtry
|
||||||
|
Loading…
Reference in New Issue
Block a user