Skip to content

Support for block comments #1505

Closed
@k2d222

Description

Add support for block comments. (line comment support per language was added in #463)

There are multiple use-cases for this:

  • Many languages don't support line comments but do support block comments, e.g. html/xml, css, old c, ocaml. the toggle_comments command could fallback to a multi-line comment.
  • Some users / codebases prefer line comments. That preference could be set in languages.toml.
  • A comment textobject could be interesting too, to select whole comments or comment out selections.

Metadata

Assignees

No one assigned

    Labels

    A-helix-termArea: Helix term improvementsC-enhancementCategory: Improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions