windwp / nvim-ts-autotag

Use treesitter to auto close and auto rename html tag
MIT License
1.62k stars 86 forks source link

`nvim-ts-autotag` stops working after certain commands provided by `barbar.nvim` are run #121

Closed anthony-S93 closed 1 year ago

anthony-S93 commented 1 year ago

I've already opened an issue at barbar.nvim (romgrk/barbar.nvim/#510) but I decided to open an issue here as well.

Here is the gist of the issue: autotag simply stops working every time I close a buffer with BufferClose and BufferWipeout (those two commands are defined by barbar.nvim)

So if I have two buffers opened foo1 and foo2, closing foo2 with BufferWipeout will cause autotag to stop working in foo1. I have tried closing the buffer with the native :bw command instead of :BufferWipeout, but it appears that the native command does not cause autotag to fail. For videos demonstrating this issue, please refer to the issue opened at barbar.nvim.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

guivazcabral commented 1 year ago

I'm using mini.starter and mini.sessions and when it calls BufferWipeout also makes autotag stop working. closing buffers with :Bdelete! also has the same effect

nsoufian commented 10 months ago

I confirm that autotag stop working after closing a non active buffer using :bwipeout