windwp / nvim-ts-autotag

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

Plugin Stops Working on Current Buffer After Closing Other Buffers. #143

Closed nsoufian closed 8 months ago

nsoufian commented 10 months ago

Problem:

I've encountered an issue with the nvim-ts-autotag plugin that I'd like to report. The problem occurs when using the plugin alongside a buffer-closing mapping. After executing a mapping to close all buffers except the current one, the nvim-ts-autotag functionality ceases to work in the current buffer. This issue seems to affect the plugin's ability to automatically close tags.

Steps to Reproduce:

  1. Install and configure nvim-ts-autotag for automatic tag closing in Neovim.
  2. Create multiple buffers with HTML, XML, or JSX content.
  3. Execute a mapping or command to close all buffers except the current one

Expected Behavior:

The nvim-ts-autotag plugin should continue to function as expected in the current buffer, automatically closing tags for supported languages.

Actual Behavior:

After closing other buffers as described in the steps to reproduce, the nvim-ts-autotag plugin stops working in the current buffer. It no longer closes tags automatically.

stale[bot] commented 8 months 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.

nsoufian commented 7 months ago

@windwp can we re-open this issue ?

krehwell commented 7 months ago

happened to me too. I think this issue should be reopened

PriceHiller commented 3 months ago

Hey folks if you're still having issues, I've begun maintaining a fork over @ https://github.com/PriceHiller/nvim-ts-autotag until windwp is active again.

Give it a shot and if it's still not working then open an issue over there and I'll investigate 🙂.