From 8277be8360d0f0419dbb7d07ec8576319cb022ae Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Fri, 14 Oct 2022 15:36:25 -0700 Subject: [PATCH] neovim: add is_gui global for neovide --- neovim/lua/_settings.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/neovim/lua/_settings.lua b/neovim/lua/_settings.lua index a78cf56..304172f 100644 --- a/neovim/lua/_settings.lua +++ b/neovim/lua/_settings.lua @@ -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")