Add neovide stuff

This commit is contained in:
Alex Yatskov 2024-09-30 17:04:53 -07:00
parent 90d467f449
commit b928935559

View File

@ -1,9 +1,13 @@
vim.cmd.GuiTabline(0)
vim.cmd.GuiPopupmenu(0)
if vim.fn.has('win32') == 1 then
vim.cmd.Guifont({
args = {'Cascadia Mono:h10'},
bang = true
})
if vim.g.neovide then
vim.g.neovide_cursor_trail_size = 0.05
vim.o.guifont = 'Cascadia Mono:h14'
elseif vim.fn.has(':GuiTabline') then
vim.cmd.GuiTabline(0)
vim.cmd.GuiPopupmenu(0)
vim.cmd.GuiFont({
args = {'Cascadia Mono:h10'},
bang = true
})
end
end