Skip to content

Terraform cannot lex terraform containing non-idiomatic single line comment. #2065

@cblegare

Description

@cblegare

Hello there, and thank your for Pygments!

The following valid terraform string cannot be lexed:

// Non-idiomatic single-line comment.

See https://www.terraform.io/language/syntax/configuration#comments

This must not happens often since most terraform users will format their code with tools, and

Automatic configuration formatting tools may automatically transform // comments into # comments, since the double-slash style is not idiomatic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions