Shade.nvim icon indicating copy to clipboard operation
Shade.nvim copied to clipboard

Error when using tabs

Open ndavd opened this issue 3 years ago • 6 comments

Do the following:

  • :tabnew
  • :tabclose

Error:

Error detected while processing WinClosed Autocommands for "*":                                    
E5108: Error executing lua ...are/nvim/site/pack/packer/start/shade.nvim/lua/shade.lua:280: Invalid window
 id: 1010
Error detected while processing WinEnter Autocommands for "*":
E5108: Error executing lua ...are/nvim/site/pack/packer/start/shade.nvim/lua/shade.lua:255: Invalid window
 id: 1010

ndavd avatar Apr 20 '21 12:04 ndavd

I"ve implemented closing overlays from the previous tab when you switch between them. However, at the moment this introduces an issue with closing the tabs: https://github.com/neovim/neovim/issues/11440

sunjon avatar Apr 20 '21 19:04 sunjon

Also want to point out that it changes my tabline highlight group

physicophilic avatar May 31 '21 18:05 physicophilic

@sunjon When I am trying to close the tab via <C-w>q or :bdelete I get:

E5601: Cannot close window, only floating window would remain

Is this also related to mentioned neovim issue?

horseinthesky avatar Jun 06 '21 20:06 horseinthesky

Poking my head in here almost a year later... this is still happening for me, even though https://github.com/neovim/neovim/issues/11440 is closed out...

Wondering if this is still an issue for others?

hahuang65 avatar Apr 06 '22 15:04 hahuang65

@hahuang65 yes, this bug hasn't been fixed.

winkee01 avatar Apr 28 '22 05:04 winkee01

Are there any alternatives to this plugin? Also getting this error, but the effect is great.

dfendr avatar Aug 25 '22 17:08 dfendr