1
Fork 0
satellite/dotfiles/neovim/lua/my/neovide.lua

23 lines
534 B
Lua
Raw Normal View History

2022-12-27 20:45:43 +01:00
local M = {}
function M.setup()
2022-12-27 21:51:45 +01:00
local default_length = 0.04
2022-12-27 20:45:43 +01:00
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
2022-12-27 21:51:45 +01:00
vim.g.neovide_cursor_animation_length = default_length
2022-12-27 20:45:43 +01:00
vim.api.nvim_create_autocmd("WinEnter", {
group = vim.api.nvim_create_augroup("Setup transparency", {}),
pattern = "*",
callback = function()
vim.wo.winblend = 30
2022-12-27 21:51:45 +01:00
end,
2022-12-27 20:45:43 +01:00
})
2022-12-27 21:51:45 +01:00
vim.g.neovide_cursor_animate_in_insert_mode = false
2022-12-27 20:45:43 +01:00
end
return M