Skip to content

The first comments in vectors/sets/structs don't get indented properly #120

Description

@evantypanski

Given some ports definition (like is in the Spicy protocol plugin template), the indentation doesn't start until the first item, so comments get unindented:

const ports = {
-	# This comment gets unindented
+# This comment gets unindented
	1234/tcp,
	# This one stays, though
	5678/tcp,
};

I would expect no change.

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

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions