Skip to content

Fails to properly format go.mod file #2

@myitcv

Description

@myitcv

Thanks very much for starting this.

If I create a simple go.mod file:

cat <<EOD > go.mod
module "rubbish.com/blah"

require (
	"github.com/kisielk/gotool" v1.0.0
)

open in Vim and then gg=G to reformat I'm left with:

module "rubbish.com/blah"

require (
    "github.com/kisielk/gotool" v1.0.0
    )

Am I doing something wrong here?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions