Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to properly format go.mod file #2

Open
myitcv opened this issue Apr 10, 2018 · 2 comments
Open

Fails to properly format go.mod file #2

myitcv opened this issue Apr 10, 2018 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@myitcv
Copy link

myitcv commented Apr 10, 2018

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

@zchee
Copy link
Owner

zchee commented Apr 10, 2018

@myitcv I surprised users using this project lol 😮

BTW, It seems to indent issue. I'll dig it. Thanks.

@zchee zchee added enhancement New feature or request help wanted Extra attention is needed labels Apr 10, 2018
@myitcv
Copy link
Author

myitcv commented Apr 10, 2018

@zchee I'm seeing what vgo can do!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants