Skip to content

x/tools/cmd/goimports: move custom group imports set with "-local" flag to bottom of imports with no spaces.  #59597

@effinsky

Description

@effinsky

Imports mal-grouped:

Screenshot 2023-04-13 at 11 00 57

Current behavior of running goimports -local 'github.com/shi**' is:
Screenshot 2023-04-13 at 11 01 17

Desired behavior is:
Screenshot 2023-04-13 at 11 02 02

This is from neovim with vim-go. I don't think it's a config problem. I have run the cmd in the shell on the file as well, with same results.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.ToolsThis label describes issues relating to any tools in the x/tools repository.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions