When using Coq.nvim alongside nvim-ts-autotag you'll run into an issue where nvim-ts-autotag is trying to paste text into the buffer while the cursor is still in an unmodifiable window. If you're familiar with Coq, that window is the little autocorrect window that shows snippets. Not sure how to fix right now, but I've got an eye on it and will update if I figure out a fix.
E5108: Error executing lua: vim/_editor.lua:0: nvim_exec2(): Vim(normal):E565: Not allowed to change text or change window
stack traceback:
[C]: in function 'nvim_exec2'
vim/_editor.lua: in function 'cmd'
...r/start/nvim-ts-autotag/lua/nvim-ts-autotag/internal.lua:333: in function 'close_tag'
...r/start/nvim-ts-autotag/lua/nvim-ts-autotag/internal.lua:538: in function <...r/start/nvim-ts-autotag/lua/nvim-ts-autotag/internal.lua:535>
Min steps to reproduce:
in your init.lua, plug these two plugins. I'm assuming that other plugins aren't causing the interaction, and only these plugins are enough to reproduce.
Let me know if anyone else has run into this issue, because with my current config I'm running into so many edge cases of different close-tag plugins not working that I just can't really work on xml/html/jsx comfortably. That's my own fault, but still it'd be nice if anyone has suggestions or similar issues.
When using Coq.nvim alongside nvim-ts-autotag you'll run into an issue where nvim-ts-autotag is trying to paste text into the buffer while the cursor is still in an unmodifiable window. If you're familiar with Coq, that window is the little autocorrect window that shows snippets. Not sure how to fix right now, but I've got an eye on it and will update if I figure out a fix.
Min steps to reproduce:
in your init.lua, plug these two plugins. I'm assuming that other plugins aren't causing the interaction, and only these plugins are enough to reproduce.
Then, at the end of your init.lua, or preferably in another included file,
Let me know if anyone else has run into this issue, because with my current config I'm running into so many edge cases of different close-tag plugins not working that I just can't really work on xml/html/jsx comfortably. That's my own fault, but still it'd be nice if anyone has suggestions or similar issues.