You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
mawkler
added a commit
to mawkler/nvim
that referenced
this issue
Nov 29, 2024
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 correctcommentstring
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-implementcommenstring
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
commentstring
s?The text was updated successfully, but these errors were encountered: