neovim: add is_gui global for neovide

This commit is contained in:
ViViDboarder 2022-10-14 15:36:25 -07:00
parent eb0320fe77
commit 8277be8360
1 changed files with 1 additions and 0 deletions

View File

@ -43,3 +43,4 @@ end)
local has = vim.fn.has
g.is_mac = (has("mac") or has("macunix") or has("gui_macvim") or vim.fn.system("uname"):find("^darwin") ~= nil)
g.is_gui = vim.fn.exists("g:neovide")