dotvim/lua/config/ginit.lua

34 lines
1.0 KiB
Lua
Raw Permalink Normal View History

2024-10-01 02:47:54 +00:00
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
2024-10-01 00:04:53 +00:00
vim.o.guifont = 'Cascadia Mono:h14'
2024-10-01 02:47:54 +00:00
elseif vim.fn.has('unix') == 1 then
2024-11-01 04:54:49 +00:00
vim.o.guifont = 'Monospace:h12'
2024-10-01 02:47:54 +00:00
end
else
if vim.fn.has(':GuiPopupmenu') then
2024-10-01 00:04:53 +00:00
vim.cmd.GuiPopupmenu(0)
2024-10-01 02:47:54 +00:00
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
2024-10-01 00:04:53 +00:00
end
2022-10-22 00:55:56 +00:00
end