Skip to content

'comments' support? #4

Description

@BenoitZugmeyer

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions