"=============================================================================
" ginit.vim --- Entry file for neovim-qt
" Copyright (c) 2016-2022 Wang Shidong & Contributors
" Author: Wang Shidong < wsdjeg@outlook.com >
" URL: https://spacevim.org
" License: GPLv3
"=============================================================================

if exists('g:GuiLoaded')
  if exists('g:spacevim_guifont') && !empty(g:spacevim_guifont)
    exe 'Guifont! ' . g:spacevim_guifont
  else
    exe 'Guifont! SauceCodePro Nerd Font Mono:h11:cANSI:qDRAFT'
  endif
  " As using neovim-qt by default

  " Disable gui popupmenu
  if exists(':GuiPopupmenu') == 2
    GuiPopupmenu 0
  endif

  " Disbale gui tabline
  if exists(':GuiTabline') == 2
    GuiTabline 0
  endif
endif

" vim:set et sw=2:

