Skip to content

Transparent background in nixvim #459

Answered by danth
butzist asked this question in Q&A
Discussion options

You must be logged in to vote

It can be done quite easily by placing the following in your vimrc.

autocmd VimEnter * highlight Normal guibg=NONE ctermbg=NONE

This may be something that should be built in to Stylix, since we have a similar behaviour with Helix where the background becomes transparent if the terminal opacity setting is < 1.

Not having it transparent in all cases is useful because a terminal which we don't support may have a different colored background.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@trueNAHO
Comment options

trueNAHO Jul 5, 2024
Collaborator

@danth
Comment options

danth Jul 6, 2024
Maintainer

Answer selected by butzist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants