bluz71 / vim-moonfly-colors

A dark charcoal theme for modern Neovim & classic Vim
MIT License
864 stars 65 forks source link

Unable to get a transparent background #41

Closed SinTan1729 closed 1 year ago

SinTan1729 commented 1 year ago

I have

vim.g.moonflyTransparent = true

inside my plugin/moonfly.lua file but still getting an opaque background.

bluz71 commented 1 year ago

Sorry for the late response, this issue got lost in my inbox.

Anyway, as far as I can tell, transparency works just fine in Alacritty with Neovim when vim.g.moonflyTransparent is set to true, as seen in this image:

moonfly

A couple of things to look for:

From my perspective, transparency does work. You probably have a simple configuration issue (possibly setting transparency too late, maybe after the theme is loaded).

For now closing this.

SinTan1729 commented 1 year ago

You're right. Moving vim.cmd [[colorscheme moonfly]] to the end of plugin/moonfly.lua solved it.

bluz71 commented 1 year ago

Excellent.