mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-11-17 20:16:27 +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
|
||||
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