1
Fork 0
satellite/dotfiles/neovim/lua/my/neovide.lua
2022-12-27 21:51:45 +01:00

23 lines
534 B
Lua

local M = {}
function M.setup()
local default_length = 0.04
vim.g.neovide_floating_blur_amount_x = 3.0
vim.g.neovide_floating_blur_amount_y = 3.0
vim.g.neovide_transparency = 1.0
vim.g.pumblend = 30
vim.g.neovide_cursor_animation_length = default_length
vim.api.nvim_create_autocmd("WinEnter", {
group = vim.api.nvim_create_augroup("Setup transparency", {}),
pattern = "*",
callback = function()
vim.wo.winblend = 30
end,
})
vim.g.neovide_cursor_animate_in_insert_mode = false
end
return M