vim-airline icon indicating copy to clipboard operation
vim-airline copied to clipboard

Coloring breaks randomly

Open FrostKiwi opened this issue 7 months ago • 2 comments

On Windows 10 and 11 with Microsoft's New Terminal, which is the default now, vim-airline either launches with background colors showing Mode and current line being stuck to a different color or as the session progresses switches to this broken state. It never recovers.

My config for neovim airline is done via lazy and looks like this:

require("lazy").setup({
...
	{
		'vim-airline/vim-airline',
		init = function()
			vim.g.airline_powerline_fonts = 1
		end
	},
	{
		'vim-airline/vim-airline-themes',
		config = function()
			vim.g.airline_theme = 'term'
		end
	},
...

This results in normal colors:

Image

but during launch, or sooner or later when editing files it becomes this:

Image Image Image

Any idea what could cause this?

FrostKiwi avatar Apr 09 '25 01:04 FrostKiwi

duplicate of #2693 ?

chrisbra avatar Apr 09 '25 07:04 chrisbra

@chrisbra Possibly. Contrary to that issue, I've been encountaring this since before 0.11. I'll check the suggested workaround in that issue.

FrostKiwi avatar Apr 09 '25 07:04 FrostKiwi