Vanilla doomemacs installation on both Emacs 28.1 and 29.1 has issues with Yasnippet. After expanding a few snippets and hitting C-c C-c to cancel the entry, I stat getting an error and Yasnippet stops working:
Adding to the question. I haven’t had this issue outside of doomemacs (in a basic Emacs configuration). So there might something in doomemacs causing this problem. How can I provide more information to help debug it?
Still having the issue, and I noticed it is triggered with C-c C-c to cancel what I was typing in a shell, or just by expanding a snippet and then manually deleting it.