Skip to content

Neovide settings: cursor blink and transparent

Songli Yu edited this page Jan 21, 2023 · 5 revisions

lua/ysl/secret.lua

local M = {}

M.colorscheme = { 'catppuccin/nvim', name = 'catppuccin', config = function() vim.cmd('colorscheme catppuccin') end }

vim.g.neovide_cursor_animation_length = 0
local x = 0.7 -- The larger, the more opaque. Use 0.6 for README.md
vim.g.neovide_transparency = x
vim.cmd(('set winblend=%s'):format(100 * (1 - x)))

M.transparent = {
  enable = true
}

return M