Skip to content

Incorrect syntax highlighting for /* in stringsΒ #6

@tobbbles

Description

@tobbbles

The following snippet:

 filters = {
      name                = "ubuntu/images/*ubuntu-hirsute-21.04-amd64-server-*"
      root-device-type    = "ebs"
      virtualization-type = "hvm"
    }

Is incorrectly rendered, with /* being incorrectly deemed as a multi-line comment start, resulting in the following:
image

The extension should not consider /* to be the begging of a multi-line comment if it's in a string

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