mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 23:47:34 +00:00
neovim: add is_gui global for neovide
This commit is contained in:
parent
eb0320fe77
commit
8277be8360
@ -43,3 +43,4 @@ end)
|
|||||||
|
|
||||||
local has = vim.fn.has
|
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_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")
|
||||||
|
Loading…
Reference in New Issue
Block a user