Skip to content

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

@evantypanski

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions