Skip to content

Highlighting of @doc """heredoc""" #4

@tmbb

Description

@tmbb

Should heredocs following @doc, @moduledoc and @typedoc be highlighted in a different color from normal heredocs? Makeup's styles provide a :string_doc token type for this purpose, which I'm not using.

I think such heredocs should be highlighted as normal heredocs, because highlighting them differently would needlessly complicate the grammar. Besides, they are simple heredocs, and masking this fact doesn't really help anyone.

Pinging @josevalim for his always insightful comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions