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'm wondering if this plugin could also support the VIM 'comments' option?
My usecase is: I work with HTML files containing script and style tags. vim-context-commentstring allows me to use easily comment stuff with vim-commentary. I'd love to be able to use the VIM 'formatoptions' to format comments with gq and J etc, but it doesn't work because the 'comments' option stays to HTML comments for the whole file.
Since the option to be configured follows the same logic as 'commentstring', and in my opinion it could support both options. Or maybe there is already a plugin supporting the 'comments' option? Thoughts?
Activity
JoosepAlviste commentedon Sep 15, 2020
Hey! Just to let you know that I added a PR which does exactly this (although I only added the options for Vue files): #7.
suy commentedon Jun 15, 2021
Merged Joosep's PR. I will see if I can update for HTML as well.