I noticed that the Heex filetype uses the invalid comment style <!-- %s --> instead of <%!-- %s --%>. I went digging and found out that Neovim does in fact have the correct commentstring specified. Then I found that the problem is that this plugin has its own hard-coded commentstrings per filetype, and the Heex one is incorrect. Why does Comment.nvim re-implement commenstring when Neovim already has the specifications built-in?
I understand that Comment.nvim might want to specify the blockwise comment styles, since Neovim doesn't support those natively, but how come the linewise commentstrings are also hard-coded? Can't Comment.nvim just rely on Neovim's commentstrings?