34 lines
1.0 KiB
Lua
34 lines
1.0 KiB
Lua
if vim.g.neovide then
|
|
vim.g.neovide_floating_blur_amount_x = 0.0
|
|
vim.g.neovide_floating_blur_amount_y = 0.0
|
|
vim.g.neovide_cursor_animate_command_line = false
|
|
vim.g.neovide_cursor_animate_in_insert_mode = false
|
|
vim.g.neovide_cursor_animation_length = 0.0
|
|
vim.g.neovide_cursor_trail_size = 0
|
|
vim.g.neovide_position_animation_length = 0
|
|
vim.g.neovide_scroll_animation_far_lines = 0
|
|
vim.g.neovide_scroll_animation_length = 0.0
|
|
|
|
if vim.fn.has('win32') == 1 then
|
|
vim.o.guifont = 'Cascadia Mono:h14'
|
|
elseif vim.fn.has('unix') == 1 then
|
|
vim.o.guifont = 'Monospace:h14'
|
|
end
|
|
else
|
|
if vim.fn.has(':GuiPopupmenu') then
|
|
vim.cmd.GuiPopupmenu(0)
|
|
end
|
|
|
|
if vim.fn.has(':GuiTabline') then
|
|
vim.cmd.GuiTabline(0)
|
|
end
|
|
|
|
if vim.fn.has(':GuiFont') == 1 then
|
|
if vim.fn.has('win32') == 1 then
|
|
vim.cmd.GuiFont({args = {'Cascadia Mono:h10'}, bang = true})
|
|
elseif vim.fn.has('unix') == 1 then
|
|
vim.o.guifont = 'Monospace:h10'
|
|
end
|
|
end
|
|
end
|